SerialFlash command container.
Data Fields | |
at25dfx_address_t | address |
SerialFlash address to operate on. More... | |
uint8_t | command_size |
Size: opcode byte (1) [+ address bytes (3)] [+ dummy bytes (N)]. More... | |
union { | |
uint8_t * rx | |
const uint8_t * tx | |
} | data |
Buffer to read from/write to. More... | |
at25dfx_datalen_t | length |
Number of bytes to read/write. More... | |
enum at25dfx_command_opcode | opcode |
Opcode to send. More... | |
at25dfx_address_t at25dfx_command::address |
SerialFlash address to operate on.
Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_get_sector_protect(), at25dfx_chip_read_buffer(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), and at25dfx_chip_write_buffer().
uint8_t at25dfx_command::command_size |
Size: opcode byte (1) [+ address bytes (3)] [+ dummy bytes (N)].
Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_get_sector_protect(), at25dfx_chip_read_buffer(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), and at25dfx_chip_write_buffer().
union { ... } at25dfx_command::data |
Buffer to read from/write to.
Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_get_sector_protect(), at25dfx_chip_read_buffer(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), and at25dfx_chip_write_buffer().
at25dfx_datalen_t at25dfx_command::length |
Number of bytes to read/write.
Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_get_sector_protect(), at25dfx_chip_read_buffer(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), and at25dfx_chip_write_buffer().
enum at25dfx_command_opcode at25dfx_command::opcode |
Opcode to send.
Referenced by _at25dfx_chip_enable_write(), _at25dfx_chip_issue_read_command_wait(), _at25dfx_chip_issue_write_command_wait(), at25dfx_chip_check_presence(), at25dfx_chip_erase(), at25dfx_chip_erase_block(), at25dfx_chip_get_sector_protect(), at25dfx_chip_read_buffer(), at25dfx_chip_set_global_sector_protect(), at25dfx_chip_set_sector_protect(), at25dfx_chip_sleep(), at25dfx_chip_wake(), and at25dfx_chip_write_buffer().
uint8_t* at25dfx_command::rx |
const uint8_t* at25dfx_command::tx |