[−][src]Struct nrf51::twi0::RegisterBlock
Register block
Fields
tasks_startrx: TASKS_STARTRX
0x00 - Start 2-Wire master receive sequence.
tasks_starttx: TASKS_STARTTX
0x08 - Start 2-Wire master transmit sequence.
tasks_stop: TASKS_STOP
0x14 - Stop 2-Wire transaction.
tasks_suspend: TASKS_SUSPEND
0x1c - Suspend 2-Wire transaction.
tasks_resume: TASKS_RESUME
0x20 - Resume 2-Wire transaction.
events_stopped: EVENTS_STOPPED
0x104 - Two-wire stopped.
events_rxdready: EVENTS_RXDREADY
0x108 - Two-wire ready to deliver new RXD byte received.
events_txdsent: EVENTS_TXDSENT
0x11c - Two-wire finished sending last TXD byte.
events_error: EVENTS_ERROR
0x124 - Two-wire error detected.
events_bb: EVENTS_BB
0x138 - Two-wire byte boundary.
events_suspended: EVENTS_SUSPENDED
0x148 - Two-wire suspended.
shorts: SHORTS
0x200 - Shortcuts for TWI.
intenset: INTENSET
0x304 - Interrupt enable set register.
intenclr: INTENCLR
0x308 - Interrupt enable clear register.
errorsrc: ERRORSRC
0x4c4 - Two-wire error source. Write error field to 1 to clear error.
enable: ENABLE
0x500 - Enable two-wire master.
pselscl: PSELSCL
0x508 - Pin select for SCL.
pselsda: PSELSDA
0x50c - Pin select for SDA.
rxd: RXD
0x518 - RX data register.
txd: TXD
0x51c - TX data register.
frequency: FREQUENCY
0x524 - Two-wire frequency.
address: ADDRESS
0x588 - Address used in the two-wire transfer.
power: POWER
0xffc - Peripheral power control.
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self