Go to the documentation of this file.
46 #define SD_READ_BLOCK(block_start_address, buffer) \
47 sdcard_read_block( block_start_address, buffer )
48 #define SD_WRITE_BLOCK(block_start_address, buffer) \
49 sdcard_write_block( block_start_address, buffer )
52 #define SD_GET_BLOCK_NUM() \
53 sdcard_get_block_num()
54 #define SD_GET_BLOCK_SIZE() \
55 sdcard_get_block_size()
56 #define SD_WRITE_BLOCKS_START(blocks_start_address, num_blocks) \
57 sdcard_write_multi_block_start(blocks_start_address, num_blocks)
58 #define SD_WRITE_BLOCKS_NEXT(buffer) \
59 sdcard_write_multi_block_next(buffer)
60 #define SD_WRITE_BLOCKS_DONE() \
61 sdcard_write_multi_block_stop()
64 #define FLASH_READ_BLOCK(block_start_address, offset, buffer, length) \
65 at45db_read_page_bypassed( block_start_address, offset, buffer, length)
66 #define FLASH_WRITE_BLOCK(block_start_address, offset, buffer, length) \
67 at45db_write_buffer( offset, buffer, length ); \
68 at45db_buffer_to_page( block_start_address );
69 #define FLASH_INIT() \