AT45 DataFlash device. More...
#include <at45_device.h>

Data Fields | |
| struct spi_master * | spim |
| SPI master struct. | |
| struct spi_device * | spid |
| SPI device struct. | |
| spi_id_t | spi_id |
| SPI Module ID | |
| at45_next_call_t | next |
| uint32_t | size |
| Device size. | |
| uint16_t | page_size |
| Device page size. | |
| uint8_t | flags |
| at45_device_flag | |
| unsigned char | cmdrsp [5] |
| Temporary storage for command and response. | |
AT45 DataFlash device.
Definition at line 78 of file at45_device.h.
| unsigned char at45_device::cmdrsp[5] |
Temporary storage for command and response.
Storage to be used for command and response data Largest used command or response is 5 bytes
Definition at line 99 of file at45_device.h.
Referenced by at45_cmd_buffer_1_main_memory_program_with_erase(), at45_cmd_buffer_1_write(), at45_cmd_cont_array_read(), at45_cmd_main_memory_to_buffer_1_transfer(), at45_cmd_read_id(), at45_cmd_read_status_reg(), at45_read_rsp(), at45_rsp_status_is_protected(), at45_rsp_status_is_ready(), and at45_write_cmd().
For internal use only.
Next call to be made for chained operations
Definition at line 86 of file at45_device.h.
Definition at line 84 of file at45_device.h.
Referenced by at45_deselect(), at45_read_buf_list(), at45_read_rsp(), at45_select(), at45_write_buf_list(), and at45_write_cmd().
| struct spi_device* at45_device::spid |
SPI device struct.
Definition at line 82 of file at45_device.h.
Referenced by at45_deselect(), and at45_select().
| struct spi_master* at45_device::spim |
SPI master struct.
Definition at line 80 of file at45_device.h.
Referenced by at45_deselect(), at45_read_buf_list(), at45_read_rsp(), at45_release(), at45_request(), at45_select(), at45_write_buf_list(), and at45_write_cmd().
1.6.3