15 static uint8_t fram_data[FRAM_SIZE] = { 0 };
25 void FRAM_write(uint32_t address, uint8_t *data, uint32_t length)
32 fram_data[((address + i++) & FRAM_MAX_ADDRESS)] = *(data++);
36 void FRAM_read(uint32_t address, uint8_t *data, uint32_t length)
43 *(data++) = fram_data[((address + i++) & FRAM_MAX_ADDRESS)];
void FRAM_read(uint32_t address, uint8_t *data, uint32_t length)
void FRAM_write(uint32_t address, uint8_t *data, uint32_t length)