Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
TWIM.h File Reference
#include "main.h"
#include "nrfx_twim.h"
Include dependency graph for TWIM.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TMP117   (0x48)
 
#define ICM_MOTION   (0x68)
 
#define HALL_EFFECT   (0x30)
 
#define PIN_SCL   (27UL)
 
#define PIN_SDA   (26UL)
 

Functions

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...