#[repr(C)]pub struct avr_uart_t {Show 30 fields
pub io: avr_io_t,
pub name: c_char,
pub disabled: avr_regbit_t,
pub r_udr: avr_io_addr_t,
pub r_ucsra: avr_io_addr_t,
pub r_ucsrb: avr_io_addr_t,
pub r_ucsrc: avr_io_addr_t,
pub rxen: avr_regbit_t,
pub txen: avr_regbit_t,
pub u2x: avr_regbit_t,
pub usbs: avr_regbit_t,
pub ucsz: avr_regbit_t,
pub ucsz2: avr_regbit_t,
pub fe: avr_regbit_t,
pub dor: avr_regbit_t,
pub upe: avr_regbit_t,
pub rxb8: avr_regbit_t,
pub ubrrl: avr_regbit_t,
pub ubrrh: avr_regbit_t,
pub rxc: avr_int_vector_t,
pub txc: avr_int_vector_t,
pub udrc: avr_int_vector_t,
pub input: uart_fifo_t,
pub tx_cnt: u8,
pub rx_cnt: u32,
pub flags: u32,
pub cycles_per_byte: avr_cycle_count_t,
pub rxc_raise_time: avr_cycle_count_t,
pub stdio_out: *mut u8,
pub stdio_len: c_int,
}
Fields§
§io: avr_io_t
§name: c_char
§disabled: avr_regbit_t
§r_udr: avr_io_addr_t
§r_ucsra: avr_io_addr_t
§r_ucsrb: avr_io_addr_t
§r_ucsrc: avr_io_addr_t
§rxen: avr_regbit_t
§txen: avr_regbit_t
§u2x: avr_regbit_t
§usbs: avr_regbit_t
§ucsz: avr_regbit_t
§ucsz2: avr_regbit_t
§fe: avr_regbit_t
§dor: avr_regbit_t
§upe: avr_regbit_t
§rxb8: avr_regbit_t
§ubrrl: avr_regbit_t
§ubrrh: avr_regbit_t
§rxc: avr_int_vector_t
§txc: avr_int_vector_t
§udrc: avr_int_vector_t
§input: uart_fifo_t
§tx_cnt: u8
§rx_cnt: u32
§flags: u32
§cycles_per_byte: avr_cycle_count_t
§rxc_raise_time: avr_cycle_count_t
§stdio_out: *mut u8
§stdio_len: c_int
Trait Implementations§
Source§impl Clone for avr_uart_t
impl Clone for avr_uart_t
Source§fn clone(&self) -> avr_uart_t
fn clone(&self) -> avr_uart_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for avr_uart_t
impl Debug for avr_uart_t
impl Copy for avr_uart_t
Auto Trait Implementations§
impl Freeze for avr_uart_t
impl RefUnwindSafe for avr_uart_t
impl !Send for avr_uart_t
impl !Sync for avr_uart_t
impl Unpin for avr_uart_t
impl UnwindSafe for avr_uart_t
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