|
ChibiOS 21.11.4
|
Generated SNOR Macronix MX25 header. More...
Go to the source code of this file.
Data Structures | |
| struct | hal_xsnor_macronix_mx25_vmt |
Class hal_xsnor_macronix_mx25_c virtual methods table. More... | |
| struct | hal_xsnor_macronix_mx25 |
| Structure representing a SNOR Macronix MX25 driver class. More... | |
Macros | |
Device options | |
| #define | MX25_OPT_DUMMY_CYCLES_MASK (15U << 0) |
| Mask of the dummy cycles field. | |
| #define | MX25_OPT_DUMMY_CYCLES(n) |
| Number of dummy cycles. | |
| #define | MX25_OPT_NO_WIDTH_SWITCH (1U << 4) |
| Switch bus width on initialization. | |
| #define | MX25_OPT_USE_SUBSECTORS (1U << 5) |
| Use 4kB sub-sectors rather than 64kB sectors. | |
| #define | MX25_OPT_NICE_WAITING (1U << 6) |
| Delays insertion. | |
| #define | MX25_OPT_USE_DTR (1U << 7) |
| Enables DTR in 8 lines mode. | |
Typedefs | |
Class @p hal_xsnor_macronix_mx25_c structures | |
| typedef struct hal_xsnor_macronix_mx25 | hal_xsnor_macronix_mx25_c |
| Type of a SNOR Macronix MX25 driver class. | |
Functions | |
Methods implementations of hal_xsnor_macronix_mx25_c | |
| void * | __mx25_objinit_impl (void *ip, const void *vmt) |
| Implementation of object creation. | |
| void | __mx25_dispose_impl (void *ip) |
| Implementation of object finalization. | |
| flash_error_t | __mx25_init_impl (void *ip) |
Override of method xsnor_device_init(). | |
| flash_error_t | __mx25_read_impl (void *ip, flash_offset_t offset, size_t n, uint8_t *rp) |
Override of method xsnor_device_read(). | |
| flash_error_t | __mx25_program_impl (void *ip, flash_offset_t offset, size_t n, const uint8_t *pp) |
Override of method xsnor_device_program(). | |
| flash_error_t | __mx25_start_erase_all_impl (void *ip) |
Override of method xsnor_device_start_erase_all(). | |
| flash_error_t | __mx25_start_erase_sector_impl (void *ip, flash_sector_t sector) |
Override of method xsnor_device_start_erase_sector(). | |
| flash_error_t | __mx25_query_erase_impl (void *ip, unsigned *msec) |
Override of method xsnor_device_query_erase(). | |
| flash_error_t | __mx25_verify_erase_impl (void *ip, flash_sector_t sector) |
Override of method xsnor_device_verify_erase(). | |
| flash_error_t | __mx25_mmap_on_impl (void *ip, uint8_t **addrp) |
Override of method xsnor_device_mmap_on(). | |
| void | __mx25_mmap_off_impl (void *ip) |
Override of method xsnor_device_mmap_off(). | |
Default constructor of hal_xsnor_macronix_mx25_c | |
| static CC_FORCE_INLINE hal_xsnor_macronix_mx25_c * | mx25ObjectInit (hal_xsnor_macronix_mx25_c *self) |
Default initialization function of hal_xsnor_macronix_mx25_c. | |
Generated SNOR Macronix MX25 header.
Definition in file hal_xsnor_macronix_mx25.h.