#include "TWIM.h"
Functions | |
nrfx_twim_evt_handler_t | twim_Handler (nrfx_twim_evt_t const *p_event, void *p_context) |
Handler function for Two Wire Interface Master module. More... | |
void | TWIMInit (void) |
Initialization Two Wire Interface Master (TWIM) module. More... | |
void | TWIMtx (uint8_t address, uint8_t data) |
More... | |
void | TWIMrx (uint8_t address, uint8_t *p_data) |
More... | |
void | TWIMtxrx (uint8_t address, uint8_t txMsg, uint8_t *p_rxMsg) |
More... | |
void | TWIMtxtx (uint8_t address, uint8_t data1, uint8_t data2) |
More... | |
bool | isTWIMbusy () |
More... | |
Variables | |
nrfx_twim_t | m_twim = NRFX_TWIM_INSTANCE(0) |
bool | TMP117dataReady |
Flag to signal data from TMP117 temmperature sensor is ready to be read. More... | |
bool | receiveTMP117 |
Flag to signal waiting for data from TMP117 temmperature sensor is ready to be read. More... | |
uint8_t | cnt = 0 |
Counter variable to count the number of received bytes over TWIM. More... | |