uart_reg

Struct uart_reg 

Source
#[repr(C)]
pub struct uart_reg {
Show 19 fields pub utx_config: uart_reg__bindgen_ty_1, pub urx_config: uart_reg__bindgen_ty_2, pub uart_bit_prd: uart_reg__bindgen_ty_3, pub data_config: uart_reg__bindgen_ty_4, pub utx_ir_position: uart_reg__bindgen_ty_5, pub urx_ir_position: uart_reg__bindgen_ty_6, pub urx_rto_timer: uart_reg__bindgen_ty_7, pub RESERVED0x1c: [u8; 4], pub uart_int_sts: uart_reg__bindgen_ty_8, pub uart_int_mask: uart_reg__bindgen_ty_9, pub uart_int_clear: uart_reg__bindgen_ty_10, pub uart_int_en: uart_reg__bindgen_ty_11, pub uart_status: uart_reg__bindgen_ty_12, pub sts_urx_abr_prd: uart_reg__bindgen_ty_13, pub RESERVED0x38: [u8; 72], pub uart_fifo_config_0: uart_reg__bindgen_ty_14, pub uart_fifo_config_1: uart_reg__bindgen_ty_15, pub uart_fifo_wdata: uart_reg__bindgen_ty_16, pub uart_fifo_rdata: uart_reg__bindgen_ty_17,
}

Fields§

§utx_config: uart_reg__bindgen_ty_1§urx_config: uart_reg__bindgen_ty_2§uart_bit_prd: uart_reg__bindgen_ty_3§data_config: uart_reg__bindgen_ty_4§utx_ir_position: uart_reg__bindgen_ty_5§urx_ir_position: uart_reg__bindgen_ty_6§urx_rto_timer: uart_reg__bindgen_ty_7§RESERVED0x1c: [u8; 4]§uart_int_sts: uart_reg__bindgen_ty_8§uart_int_mask: uart_reg__bindgen_ty_9§uart_int_clear: uart_reg__bindgen_ty_10§uart_int_en: uart_reg__bindgen_ty_11§uart_status: uart_reg__bindgen_ty_12§sts_urx_abr_prd: uart_reg__bindgen_ty_13§RESERVED0x38: [u8; 72]§uart_fifo_config_0: uart_reg__bindgen_ty_14§uart_fifo_config_1: uart_reg__bindgen_ty_15§uart_fifo_wdata: uart_reg__bindgen_ty_16§uart_fifo_rdata: uart_reg__bindgen_ty_17

Trait Implementations§

Source§

impl Clone for uart_reg

Source§

fn clone(&self) -> uart_reg

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for uart_reg

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for uart_reg

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.