Struct avr_device::generic::W
source · pub struct W<REG: RegisterSpec + ?Sized> { /* private fields */ }
Expand description
Register writer.
Used as an argument to the closures in the write
and modify
methods of the register.
Implementations§
Trait Implementations§
source§impl From<W<ADCSRA_SPEC>> for W
impl From<W<ADCSRA_SPEC>> for W
source§fn from(writer: W<ADCSRA_SPEC>) -> Self
fn from(writer: W<ADCSRA_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<ADCSRB_SPEC>> for W
impl From<W<ADCSRB_SPEC>> for W
source§fn from(writer: W<ADCSRB_SPEC>) -> Self
fn from(writer: W<ADCSRB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<ADCSRB_SPEC>> for W
impl From<W<ADCSRB_SPEC>> for W
source§fn from(writer: W<ADCSRB_SPEC>) -> Self
fn from(writer: W<ADCSRB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<ADMUX_SPEC>> for W
impl From<W<ADMUX_SPEC>> for W
source§fn from(writer: W<ADMUX_SPEC>) -> Self
fn from(writer: W<ADMUX_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<CLKPR_SPEC>> for W
impl From<W<CLKPR_SPEC>> for W
source§fn from(writer: W<CLKPR_SPEC>) -> Self
fn from(writer: W<CLKPR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<DIDR0_SPEC>> for W
impl From<W<DIDR0_SPEC>> for W
source§fn from(writer: W<DIDR0_SPEC>) -> Self
fn from(writer: W<DIDR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<DIDR0_SPEC>> for W
impl From<W<DIDR0_SPEC>> for W
source§fn from(writer: W<DIDR0_SPEC>) -> Self
fn from(writer: W<DIDR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<EXTENDED_SPEC>> for W
impl From<W<EXTENDED_SPEC>> for W
source§fn from(writer: W<EXTENDED_SPEC>) -> Self
fn from(writer: W<EXTENDED_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GIMSK_SPEC>> for W
impl From<W<GIMSK_SPEC>> for W
source§fn from(writer: W<GIMSK_SPEC>) -> Self
fn from(writer: W<GIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GPIOR0_SPEC>> for W
impl From<W<GPIOR0_SPEC>> for W
source§fn from(writer: W<GPIOR0_SPEC>) -> Self
fn from(writer: W<GPIOR0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GPIOR1_SPEC>> for W
impl From<W<GPIOR1_SPEC>> for W
source§fn from(writer: W<GPIOR1_SPEC>) -> Self
fn from(writer: W<GPIOR1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GPIOR2_SPEC>> for W
impl From<W<GPIOR2_SPEC>> for W
source§fn from(writer: W<GPIOR2_SPEC>) -> Self
fn from(writer: W<GPIOR2_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GTCCR_SPEC>> for W
impl From<W<GTCCR_SPEC>> for W
source§fn from(writer: W<GTCCR_SPEC>) -> Self
fn from(writer: W<GTCCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<GTCCR_SPEC>> for W
impl From<W<GTCCR_SPEC>> for W
source§fn from(writer: W<GTCCR_SPEC>) -> Self
fn from(writer: W<GTCCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<LOCKBIT_SPEC>> for W
impl From<W<LOCKBIT_SPEC>> for W
source§fn from(writer: W<LOCKBIT_SPEC>) -> Self
fn from(writer: W<LOCKBIT_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<MCUCR_SPEC>> for W
impl From<W<MCUCR_SPEC>> for W
source§fn from(writer: W<MCUCR_SPEC>) -> Self
fn from(writer: W<MCUCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<MCUCR_SPEC>> for W
impl From<W<MCUCR_SPEC>> for W
source§fn from(writer: W<MCUCR_SPEC>) -> Self
fn from(writer: W<MCUCR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<MCUSR_SPEC>> for W
impl From<W<MCUSR_SPEC>> for W
source§fn from(writer: W<MCUSR_SPEC>) -> Self
fn from(writer: W<MCUSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OCR0A_SPEC>> for W
impl From<W<OCR0A_SPEC>> for W
source§fn from(writer: W<OCR0A_SPEC>) -> Self
fn from(writer: W<OCR0A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OCR0B_SPEC>> for W
impl From<W<OCR0B_SPEC>> for W
source§fn from(writer: W<OCR0B_SPEC>) -> Self
fn from(writer: W<OCR0B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OCR1A_SPEC>> for W
impl From<W<OCR1A_SPEC>> for W
source§fn from(writer: W<OCR1A_SPEC>) -> Self
fn from(writer: W<OCR1A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OCR1B_SPEC>> for W
impl From<W<OCR1B_SPEC>> for W
source§fn from(writer: W<OCR1B_SPEC>) -> Self
fn from(writer: W<OCR1B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OCR1C_SPEC>> for W
impl From<W<OCR1C_SPEC>> for W
source§fn from(writer: W<OCR1C_SPEC>) -> Self
fn from(writer: W<OCR1C_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<OSCCAL_SPEC>> for W
impl From<W<OSCCAL_SPEC>> for W
source§fn from(writer: W<OSCCAL_SPEC>) -> Self
fn from(writer: W<OSCCAL_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<PCMSK_SPEC>> for W
impl From<W<PCMSK_SPEC>> for W
source§fn from(writer: W<PCMSK_SPEC>) -> Self
fn from(writer: W<PCMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<PLLCSR_SPEC>> for W
impl From<W<PLLCSR_SPEC>> for W
source§fn from(writer: W<PLLCSR_SPEC>) -> Self
fn from(writer: W<PLLCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<PORTB_SPEC>> for W
impl From<W<PORTB_SPEC>> for W
source§fn from(writer: W<PORTB_SPEC>) -> Self
fn from(writer: W<PORTB_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<SPMCSR_SPEC>> for W
impl From<W<SPMCSR_SPEC>> for W
source§fn from(writer: W<SPMCSR_SPEC>) -> Self
fn from(writer: W<SPMCSR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TCCR0A_SPEC>> for W
impl From<W<TCCR0A_SPEC>> for W
source§fn from(writer: W<TCCR0A_SPEC>) -> Self
fn from(writer: W<TCCR0A_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TCCR0B_SPEC>> for W
impl From<W<TCCR0B_SPEC>> for W
source§fn from(writer: W<TCCR0B_SPEC>) -> Self
fn from(writer: W<TCCR0B_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TCCR1_SPEC>> for W
impl From<W<TCCR1_SPEC>> for W
source§fn from(writer: W<TCCR1_SPEC>) -> Self
fn from(writer: W<TCCR1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TCNT0_SPEC>> for W
impl From<W<TCNT0_SPEC>> for W
source§fn from(writer: W<TCNT0_SPEC>) -> Self
fn from(writer: W<TCNT0_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TCNT1_SPEC>> for W
impl From<W<TCNT1_SPEC>> for W
source§fn from(writer: W<TCNT1_SPEC>) -> Self
fn from(writer: W<TCNT1_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TIMSK_SPEC>> for W
impl From<W<TIMSK_SPEC>> for W
source§fn from(writer: W<TIMSK_SPEC>) -> Self
fn from(writer: W<TIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<TIMSK_SPEC>> for W
impl From<W<TIMSK_SPEC>> for W
source§fn from(writer: W<TIMSK_SPEC>) -> Self
fn from(writer: W<TIMSK_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<USIBR_SPEC>> for W
impl From<W<USIBR_SPEC>> for W
source§fn from(writer: W<USIBR_SPEC>) -> Self
fn from(writer: W<USIBR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<USICR_SPEC>> for W
impl From<W<USICR_SPEC>> for W
source§fn from(writer: W<USICR_SPEC>) -> Self
fn from(writer: W<USICR_SPEC>) -> Self
Converts to this type from the input type.
source§impl From<W<USIDR_SPEC>> for W
impl From<W<USIDR_SPEC>> for W
source§fn from(writer: W<USIDR_SPEC>) -> Self
fn from(writer: W<USIDR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<REG: ?Sized> Freeze for W<REG>
impl<REG: ?Sized> RefUnwindSafe for W<REG>
impl<REG: ?Sized> Send for W<REG>
impl<REG: ?Sized> Sync for W<REG>
impl<REG: ?Sized> Unpin for W<REG>
impl<REG: ?Sized> UnwindSafe for W<REG>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more