#[repr(C)]pub struct USART {
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub rxpl: Reg<RXPL_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub syncbusy: Reg<SYNCBUSY_SPEC>,
pub data: Reg<DATA_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>
0x00 - USART Control A
ctrlb: Reg<CTRLB_SPEC>
0x04 - USART Control B
rxpl: Reg<RXPL_SPEC>
0x0e - USART Receive Pulse Length
intenclr: Reg<INTENCLR_SPEC>
0x14 - USART Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>
0x16 - USART Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>
0x18 - USART Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>
0x1a - USART Status
syncbusy: Reg<SYNCBUSY_SPEC>
0x1c - USART Syncbusy
data: Reg<DATA_SPEC>
0x28 - USART Data
dbgctrl: Reg<DBGCTRL_SPEC>
0x30 - USART Debug Control
Implementations
sourceimpl USART
impl USART
sourcepub fn baud_usartfp_mode(&self) -> &Reg<BAUD_USARTFP_MODE_SPEC>
pub fn baud_usartfp_mode(&self) -> &Reg<BAUD_USARTFP_MODE_SPEC>
0x0c - USART Baud Rate
sourcepub fn baud_fracfp_mode(&self) -> &Reg<BAUD_FRACFP_MODE_SPEC>
pub fn baud_fracfp_mode(&self) -> &Reg<BAUD_FRACFP_MODE_SPEC>
0x0c - USART Baud Rate
sourcepub fn baud_frac_mode(&self) -> &Reg<BAUD_FRAC_MODE_SPEC>
pub fn baud_frac_mode(&self) -> &Reg<BAUD_FRAC_MODE_SPEC>
0x0c - USART Baud Rate
Auto Trait Implementations
impl !RefUnwindSafe for USART
impl Send for USART
impl !Sync for USART
impl Unpin for USART
impl UnwindSafe for USART
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more