|
ChibiOS/HAL 9.0.0
|
Generated SNOR Micron N25Q header. More...
Go to the source code of this file.
Data Structures | |
| struct | hal_xsnor_micron_n25q_vmt |
Class hal_xsnor_micron_n25q_c virtual methods table. More... | |
| struct | hal_xsnor_micron_n25q |
| Structure representing a SNOR Micron N25Q driver class. More... | |
Macros | |
Device options | |
| #define | N25Q_OPT_DUMMY_CYCLES_MASK (15U << 0) |
| Mask of the dummy cycles field. | |
| #define | N25Q_OPT_DUMMY_CYCLES(n) |
| Number of dummy cycles. | |
| #define | N25Q_OPT_NO_WIDTH_SWITCH (1U << 4) |
| Switch bus width on initialization. | |
| #define | N25Q_OPT_USE_SUBSECTORS (1U << 5) |
| Use 4kB sub-sectors rather than 64kB sectors. | |
| #define | N25Q_OPT_NICE_WAITING (1U << 6) |
| Delays insertion. | |
Typedefs | |
Class @p hal_xsnor_micron_n25q_c structures | |
| typedef struct hal_xsnor_micron_n25q | hal_xsnor_micron_n25q_c |
| Type of a SNOR Micron N25Q driver class. | |
Functions | |
Methods implementations of hal_xsnor_micron_n25q_c | |
| void * | __n25q_objinit_impl (void *ip, const void *vmt) |
| Implementation of object creation. | |
| void | __n25q_dispose_impl (void *ip) |
| Implementation of object finalization. | |
| flash_error_t | __n25q_init_impl (void *ip) |
Override of method xsnor_device_init(). | |
| flash_error_t | __n25q_read_impl (void *ip, flash_offset_t offset, size_t n, uint8_t *rp) |
Override of method xsnor_device_read(). | |
| flash_error_t | __n25q_program_impl (void *ip, flash_offset_t offset, size_t n, const uint8_t *pp) |
Override of method xsnor_device_program(). | |
| flash_error_t | __n25q_start_erase_all_impl (void *ip) |
Override of method xsnor_device_start_erase_all(). | |
| flash_error_t | __n25q_start_erase_sector_impl (void *ip, flash_sector_t sector) |
Override of method xsnor_device_start_erase_sector(). | |
| flash_error_t | __n25q_query_erase_impl (void *ip, unsigned *msec) |
Override of method xsnor_device_query_erase(). | |
| flash_error_t | __n25q_verify_erase_impl (void *ip, flash_sector_t sector) |
Override of method xsnor_device_verify_erase(). | |
| flash_error_t | __n25q_mmap_on_impl (void *ip, uint8_t **addrp) |
Override of method xsnor_device_mmap_on(). | |
| void | __n25q_mmap_off_impl (void *ip) |
Override of method xsnor_device_mmap_off(). | |
Default constructor of hal_xsnor_micron_n25q_c | |
| static CC_FORCE_INLINE hal_xsnor_micron_n25q_c * | n25qObjectInit (hal_xsnor_micron_n25q_c *self) |
Default initialization function of hal_xsnor_micron_n25q_c. | |
Generated SNOR Micron N25Q header.
Definition in file hal_xsnor_micron_n25q.h.