API driver for component AT24MACXX.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | at24mac_build_word_address(p_u8, addr) |
Functions | |
static void | at24macxx_acknowledge_polling (twihs_package_t *twihs_package) |
Poll the acknowledge from AT24MACXX. More... | |
uint32_t | at24macxx_fill_pattern (uint32_t u32_start_address, uint32_t u32_end_address, uint8_t u8_pattern) |
Fill the specified pattern to AT24MACXX. More... | |
uint32_t | at24macxx_read_byte (uint32_t u32_address, uint8_t *p_rd_byte) |
Read single byte from AT24MACXX. More... | |
uint32_t | at24macxx_read_continuous (uint32_t u32_start_address, uint16_t u16_length, uint8_t *p_rd_buffer) |
Read multiple bytes continuously from AT24MACXX. More... | |
uint32_t | at24macxx_read_page (uint32_t u32_page_address, uint32_t u32_page_size, uint8_t *p_rd_buffer) |
Read data from the specified page in AT24MACXX. More... | |
void | at24macxx_reset (void) |
Reset AT24MACXX. More... | |
uint32_t | at24macxx_write_byte (uint32_t u32_address, uint8_t u8_value) |
Write single byte to AT24MACXX. More... | |
uint32_t | at24macxx_write_continuous (uint32_t u32_start_address, uint16_t u16_length, uint8_t const *p_wr_buffer) |
Write multiple bytes continuously to AT24MACXX. More... | |
uint32_t | at24macxx_write_page (uint32_t u32_page_address, uint32_t u32_page_size, uint8_t const *p_wr_buffer) |
Write data to the specified page in AT24MACXX. More... | |