18 #define TMP117 (0x48) // Temperature Sensor adresses // Important note, the R/W bit is handled by peripheral, so address is only 7 bit - does not include w. 19 #define ICM_MOTION (0x68) // 9-axis ICM Motion Sensor adresses 20 #define HALL_EFFECT (0x30) // Hall Effect Sensor adresses 21 #define PIN_SCL (27UL) 22 #define PIN_SDA (26UL) bool isTWIMbusy()
Definition: TWIM.c:115
unsigned char uint8_t
Definition: nrf_drv_uart_PP.c:22
void TWIMtxrx(uint8_t address, uint8_t txMsg, uint8_t *p_rxMsg)
Definition: TWIM.c:93
void TWIMtx(uint8_t address, uint8_t data)
Definition: TWIM.c:70
void TWIMtxtx(uint8_t address, uint8_t data1, uint8_t data2)
Definition: TWIM.c:104
void TWIMrx(uint8_t address, uint8_t *p_data)
Definition: TWIM.c:82
void TWIMInit(void)
Initialization Two Wire Interface Master (TWIM) module.
Definition: TWIM.c:54