Atmel Software Framework

at25_cmd Struct Reference

SerialFlash transfers request prepared by the AT25 driver.

This structure is sent to the at25_send_command function which is application dependent. This function transforms at25_cmd_t request into api command request.

Data Fields

uint32_t address
 SerialFlash internal address. More...
 
uint8_t cmd
 Command byte opcode. More...
 
uint8_t cmd_size
 Size of command (command byte + address bytes + dummy bytes) in bytes. More...
 
uint8_t * data
 Data buffer to be sent or received. More...
 
uint16_t data_size
 Number of bytes to send/receive. More...