pub struct RegisterBlock {Show 18 fields
pub brr: BRR,
pub tdr: TDR,
pub rdr: RDR,
pub scmr: SCMR,
pub semr: SEMR,
pub snfr: SNFR,
pub simr1: SIMR1,
pub simr2: SIMR2,
pub simr3: SIMR3,
pub sisr: SISR,
pub spmr: SPMR,
pub mddr: MDDR,
pub dccr: DCCR,
pub fcr: FCR,
pub fdr: FDR,
pub lsr: LSR,
pub cdr: CDR,
pub sptr: SPTR,
/* private fields */
}Expand description
Register block
Fields§
§brr: BRR0x01 - Bit Rate Register
tdr: TDR0x03 - Transmit Data Register
rdr: RDR0x05 - Receive Data Register
scmr: SCMR0x06 - Smart Card Mode Register
semr: SEMR0x07 - Serial Extended Mode Register
snfr: SNFR0x08 - Noise Filter Setting Register
simr1: SIMR10x09 - I2C Mode Register 1
simr2: SIMR20x0a - I2C Mode Register 2
simr3: SIMR30x0b - IIC Mode Register 3
sisr: SISR0x0c - IIC Status Register
spmr: SPMR0x0d - SPI Mode Register
mddr: MDDR0x12 - Modulation Duty Register
dccr: DCCR0x13 - Data Compare Match Control Register
fcr: FCR0x14 - FIFO Control Register
fdr: FDR0x16 - FIFO Data Count Register
lsr: LSR0x18 - Line Status Register
cdr: CDR0x1a - Compare Match Data Register
sptr: SPTR0x1c - Serial Port Register
Implementations§
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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