Home
last modified time | relevance | path

Searched refs:_flash_device (Results 1 – 4 of 4) sorted by relevance

/bsp/microchip/samc21/bsp/hal/include/
A Dhpl_flash.h55 struct _flash_device;
65 void (*ready_cb)(struct _flash_device *device);
67 void (*error_cb)(struct _flash_device *device);
73 struct _flash_device { struct
89 int32_t _flash_init(struct _flash_device *const device, void *const hw); argument
96 void _flash_deinit(struct _flash_device *const device);
174 uint32_t _flash_get_page_size(struct _flash_device *const device);
183 uint32_t _flash_get_total_pages(struct _flash_device *const device);
192 uint8_t _flash_get_wait_state(struct _flash_device *const device);
223 uint32_t _rww_flash_get_page_size(struct _flash_device *const device);
[all …]
A Dhal_flash.h80 struct _flash_device dev;
/bsp/microchip/samc21/bsp/hpl/nvmctrl/
A Dhpl_nvmctrl.c59 static struct _flash_device *_nvm_dev = NULL;
68 int32_t _flash_init(struct _flash_device *const device, void *const hw) in _flash_init()
88 void _flash_deinit(struct _flash_device *const device) in _flash_deinit()
97 uint32_t _flash_get_page_size(struct _flash_device *const device) in _flash_get_page_size()
106 uint32_t _flash_get_total_pages(struct _flash_device *const device) in _flash_get_total_pages()
115 uint8_t _flash_get_wait_state(struct _flash_device *const device) in _flash_get_wait_state()
123 void _flash_set_wait_state(struct _flash_device *const device, uint8_t state) in _flash_set_wait_state()
242 void _flash_erase(struct _flash_device *const device, uint32_t dst_addr, uint32_t page_nums) in _flash_erase()
340 bool _flash_is_locked(struct _flash_device *const device, const uint32_t dst_addr) in _flash_is_locked()
699 uint32_t _rww_flash_get_page_size(struct _flash_device *const device) in _rww_flash_get_page_size()
[all …]
/bsp/microchip/samc21/bsp/hal/src/
A Dhal_flash.c44 static void flash_ready(struct _flash_device *device);
45 static void flash_error(struct _flash_device *device);
295 static void flash_ready(struct _flash_device *device) in flash_ready()
308 static void flash_error(struct _flash_device *device) in flash_error()

Completed in 10 milliseconds