Configuration options for a SPI Flash command. More...
Data Fields | |
uint32_t | reg_offset |
Offset of the CMD_INFO register to set. | |
uint8_t | op_code |
Instruction code. | |
bool | address |
Address. More... | |
uint8_t | dummy_cycles |
Number of dummy cycles. | |
bool | handled_in_sw |
Whether the command is handled in software. More... | |
Configuration options for a SPI Flash command.
Definition at line 446 of file spi_device.c.
bool cmd_info::address |
uint8_t cmd_info::dummy_cycles |
Number of dummy cycles.
Definition at line 464 of file spi_device.c.
bool cmd_info::handled_in_sw |
Whether the command is handled in software.
If this field is true, BUSY and UPLOAD bits of the CMD_INFO register will be set. spi_device treats the bytes following the address as the payload. Maximum payload size is 256 bytes and spi_device will overwrite the payload area if a larger payload is received.
Definition at line 473 of file spi_device.c.
uint8_t cmd_info::op_code |
Instruction code.
Definition at line 454 of file spi_device.c.
uint32_t cmd_info::reg_offset |
Offset of the CMD_INFO register to set.
Definition at line 450 of file spi_device.c.