Macros | |
#define | LEN_EUI 256 |
#define | PRINTF(...) |
#define | SLAVE_ADDRESS 0x28 |
#define | SLAVE_WAIT_TIMEOUT 10 |
#define | TIMEOUT 1000 |
Functions | |
uint8_t * | edbg_eui_read_eui64 (void) |
Variables | |
struct i2c_master_module | i2c_master_instance |
uint8_t | readbuf [LEN_EUI] |
static uint8_t | write_buffer [2] |
#define LEN_EUI 256 |
#define PRINTF | ( | ... | ) |
Referenced by edbg_eui_read_eui64().
#define SLAVE_ADDRESS 0x28 |
Referenced by edbg_eui_read_eui64().
#define SLAVE_WAIT_TIMEOUT 10 |
Referenced by edbg_eui_read_eui64().
#define TIMEOUT 1000 |
Referenced by edbg_eui_read_eui64().
uint8_t* edbg_eui_read_eui64 | ( | void | ) |
References i2c_master_packet::address, i2c_master_packet::data, data, i2c_master_packet::data_length, i2c_master_packet::high_speed, i2c_master_packet::hs_master_code, i, i2c_master_enable(), i2c_master_get_config_defaults(), i2c_master_init(), i2c_master_instance, i2c_master_read_packet_wait(), i2c_master_reset(), i2c_master_write_packet_wait_no_stop(), i2c_master_config::pinmux_pad0, i2c_master_config::pinmux_pad1, PRINTF, readbuf, SLAVE_ADDRESS, SLAVE_WAIT_TIMEOUT, STATUS_ERR_BAD_ADDRESS, STATUS_OK, i2c_master_packet::ten_bit_address, TIMEOUT, and write_buffer.
Referenced by main().
struct i2c_master_module i2c_master_instance |
uint8_t readbuf[LEN_EUI] |
Referenced by at24mac602_arch_read_eui64(), at24mac602_arch_read_serial128(), edbg_eui_read_eui64(), and MQTTClient().
|
static |