PebbleOS
Loading...
Searching...
No Matches
Data Structures
nRF5 I2C

I2C HAL implementation for the nRF5 TWIM peripheral. More...

Data Structures

struct  I2CBusHal
 nRF5 bus configuration. More...
 

Detailed Description

I2C HAL implementation for the nRF5 TWIM peripheral.


Data Structure Documentation

◆ I2CBusHal

struct I2CBusHal

nRF5 bus configuration.

SF32LB bus configuration.

Data Fields
IRQn_Type dma_irqn Receive DMA interrupt, when the bus has a receive DMA channel.
nrf_twim_frequency_t frequency Bus clock frequency.
RCC_MODULE_TYPE IRQn_Type irqn Controller clock module.

Controller interrupt.

Pinmux scl SCL pin.
Pinmux sda SDA pin.
I2CBusHalState * state Driver runtime state.
nrfx_twim_t twim TWIM instance.