at45_device Struct Reference
[AT45 DataFlash Device Driver]

AT45 DataFlash device. More...

#include <at45_device.h>

Collaboration diagram for at45_device:
Collaboration graph
[legend]

Data Fields

struct spi_masterspim
 SPI master struct.
struct spi_devicespid
 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.

Detailed Description

AT45 DataFlash device.

Definition at line 78 of file at45_device.h.


Field Documentation

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().

at45_device_flag

Definition at line 92 of file at45_device.h.

Referenced by dataflash_detect().

For internal use only.

Next call to be made for chained operations

Definition at line 86 of file at45_device.h.

Device page size.

Definition at line 90 of file at45_device.h.

Referenced by dataflash_detect().

Device size.

Definition at line 88 of file at45_device.h.

Referenced by dataflash_detect().

SPI device struct.

Definition at line 82 of file at45_device.h.

Referenced by at45_deselect(), and at45_select().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 15:18:25 2010 for display-training by  doxygen 1.6.3