[][src]Struct avr_device::atmega8::usart::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub ubrrl: UBRRL,
    pub ucsrb: UCSRB,
    pub ucsra: UCSRA,
    pub udr: UDR,
    // some fields omitted
}

Register block

Fields

ubrrl: UBRRL

0x00 - USART Baud Rate Register Low Byte

ucsrb: UCSRB

0x01 - USART Control and Status Register B

ucsra: UCSRA

0x02 - USART Control and Status Register A

udr: UDR

0x03 - USART I/O Data Register

Implementations

impl RegisterBlock[src]

pub fn ucsrc(&self) -> &UCSRC[src]

0x17 - USART Control and Status Register C

pub fn ucsrc_mut(&self) -> &mut UCSRC[src]

0x17 - USART Control and Status Register C

pub fn ubrrh(&self) -> &UBRRH[src]

0x17 - USART Baud Rate Register Hight Byte

pub fn ubrrh_mut(&self) -> &mut UBRRH[src]

0x17 - USART Baud Rate Register Hight Byte

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.