UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
Data Structures
eps.c File Reference

Go to the source code of this file.

Data Structures

struct  eps_master_packet_t
 
struct  eps_slave_packet_single_t
 
typedef struct eps_master_packet_t eps_master_packet_t
 
typedef struct
eps_slave_packet_single_t 
eps_slave_packet_single_t
 
static eps_master_packet_t eps_master_packet
 
static eps_slave_packet_single_t eps_slave_packet_single
 
static bool EPS_readRegister (uint8_t register_id, eps_slave_packet_single_t *data)
 
static uint16_t EPS_crc (uint8_t *message, int32_t offset, int32_t length)
 
void EPS_init (void)
 
bool EPS_selfTest (void)
 
bool EPS_getBatteryVoltage (uint16_t *voltage)