2#ifndef INCLUDE_GUARD__EPS_INTERNAL_DRIVERS_H__
3#define INCLUDE_GUARD__EPS_INTERNAL_DRIVERS_H__
9#define EPS_I2C_ADDR (0x20 << 1)
11#define EPS_COMMAND_STID 0x1A
12#define EPS_COMMAND_IVID 0x07
13#define EPS_COMMAND_BID 0x00
15#define EPS_DEFAULT_RX_LEN_MIN 5
17#define EPS_MAX_RESPONSE_POLL_TIME_MS 100
26 uint8_t rx_buf[], uint16_t rx_buf_len);
uint8_t EPS_run_argumentless_cmd(uint8_t command_code)
Sends an argumentless command to the EPS (expecting no data in the response).
Definition eps_internal_drivers.c:207
uint8_t EPS_send_cmd_get_response(const uint8_t cmd_buf[], uint8_t cmd_buf_len, uint8_t rx_buf[], uint16_t rx_buf_len)
Sends a command to the EPS, and receives the response.
Definition eps_internal_drivers.c:31