Microchip® Advanced Software Framework

_nvm_module Struct Reference

Internal device instance struct

This struct contains information about the NVM module which is often used by the different functions. The information is loaded into the struct in the nvm_init() function.

Data Fields

bool manual_page_write
 If false, a page write command will be issued automatically when the page buffer is full. More...
 
uint16_t number_of_pages
 Total number of pages in the NVM memory. More...
 
uint16_t page_size
 Number of bytes contained per page. More...
 

bool _nvm_module::manual_page_write

If false, a page write command will be issued automatically when the page buffer is full.

Referenced by nvm_set_config(), and nvm_write_buffer().

uint16_t _nvm_module::number_of_pages

Total number of pages in the NVM memory.

Referenced by nvm_erase_row(), nvm_execute_command(), nvm_is_page_locked(), nvm_read_buffer(), nvm_set_config(), and nvm_write_buffer().

uint16_t _nvm_module::page_size