Struct nrf52832_hal::twis::Twis [−][src]
pub struct Twis<T>(_)
where
T: Instance;
Expand description
Interface to a TWIS instance.
Implementations
Configures secondary I2C address.
Sets the over-read character (character sent on over-read of the transmit buffer).
Enables interrupt for specified command.
Disables interrupt for specified command.
Resets read and write events.
Resets specified event.
Returns matched address for latest command.
Checks if specified event has been triggered.
Checks if RX buffer overflow was detected.
Checks if NACK was sent after receiving a data byte.
Checks if TX buffer over-read was detected and ORC was clocked out.
Returns reference to READ
event endpoint for PPI.
Returns reference to WRITE
event endpoint for PPI.
Returns reference to STOPPED
event endpoint for PPI.
Returns reference to ERROR
event endpoint for PPI.
Returns reference to RXSTARTED
event endpoint for PPI.
Returns reference to TXSTARTED
event endpoint for PPI.
Returns reference to STOP
task endpoint for PPI.
Returns reference to SUSPEND
task endpoint for PPI.
Returns reference to RESUME
task endpoint for PPI.
Returns reference to PREPARERX
task endpoint for PPI.
Returns reference to PREPARETX
task endpoint for PPI.
Write to an I2C controller.
The buffer must reside in RAM and have a length of at most 255 bytes on the nRF52832 and at most 65535 bytes on the nRF52840.
Read from an I2C controller.
The buffer must have a length of at most 255 bytes on the nRF52832 and at most 65535 bytes on the nRF52840.
Receives data into the given buffer
. Buffer must be located in RAM.
Returns a value that represents the in-progress DMA transfer.
Transmits data from the given buffer
. Buffer must be located in RAM.
Returns a value that represents the in-progress DMA transfer.