@mchp-mcc/dspic33a-flash 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55,7 +55,7 @@ ${disclaimer}
55
55
  @ingroup ${moduleNameLowerCase}driver
56
56
  @brief Defines ${moduleNameUpperCase} erase page mask
57
57
  */
58
- #define FLASH_ERASE_PAGE_MASK (~(FLASH_ERASE_PAGE_SIZE_IN_INSTRUCTIONS - 1U))
58
+ #define FLASH_ERASE_PAGE_MASK (~((FLASH_ERASE_PAGE_SIZE_IN_INSTRUCTIONS * 4U) - 1U))
59
59
 
60
60
  typedef void (*FLASH_CALLBACK)(void *);
61
61
 
@@ -0,0 +1 @@
1
+ {"moduleName":"Flash","deviceType":"PIC","booleanValues":{"true":"enabled","false":"disabled"},"UIGroups":{},"UIOrder":{},"tabs":{"register":"Register Initialization"},"isEntryPoint":false,"templates":[{"src":"output/flash-a-core-ftl/flash.c.ftl","dest":"flash/src/flash.c","isGeneratableProperty":"blockingAPIGenerate"},{"src":"output/flash-a-core-ftl/flash.h.ftl","dest":"flash/flash.h","isGeneratableProperty":"blockingAPIGenerate"},{"src":"output/flash-a-core-ftl/flash_interface.h.ftl","dest":"flash/flash_interface.h","isGeneratableProperty":"enableInterfaceDefinitionGeneration"},{"src":"output/flash-a-core-ftl/flash_types.h.ftl","dest":"flash/flash_types.h"},{"src":"output/flash-a-core-ftl/flash_nonblocking.c.ftl","dest":"flash/src/flash_nonblocking.c","isGeneratableProperty":"nonBlockingAPIGenerate"},{"src":"output/flash-a-core-ftl/flash_nonblocking.h.ftl","dest":"flash/flash_nonblocking.h","isGeneratableProperty":"nonBlockingAPIGenerate"}],"imports":{"nvm_ctrl_32bit_upb_v1":{"import":{"interfaceId":{"name":"nvm_ctrl_32bit_upb_v1","version":"1.0.0"},"isRequired":true}},"system_16bit_initializer":{"nodeModule":{"importName":"system_16bit_initializer","node":"@microchip/system-16bit-initializer"},"import":{"interfaceId":{"name":"system-16bit-initializer","version":"^1.0.0"}}},"config_16bit_interface":{"import":{"interfaceId":{"name":"config-16bit-interface","version":"^1.0.0"}}},"interrupt_service":{"import":{"interfaceId":{"name":"interrupt-16bit-interface","version":"^1.0.0"}}}},"exports":{"flash_interface":{"interfaces":[{"interfaceId":{"name":"flash-interface","version":"1.3.1"}}]}},"peripherals":[{"interfaceId":{"name":"nvm_ctrl_32bit_upb_v1","version":"1.0.0"},"registers":{"NVMCON":[{"setting":"NVMOP","name":"nvmopNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["main"]},{"setting":"DRBV","name":"drbvNvmcon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"LOCK","name":"lockNvmcon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"P2ACTIV","name":"p2activNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["register"]},{"setting":"SFTSWP","name":"sftswpNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["main"]},{"setting":"NVMPIDL","name":"nvmpidlNvmcon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"WRERR","name":"wrerrNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["main"]},{"setting":"WREN","name":"wrenNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["main"]},{"setting":"WR","name":"wrNvmcon","category":"hardware","description":"Insert Description Here","type":"ComboBox","group":"hardware","tabs":["main"]},{"setting":"WREC","name":"wrecNvmcon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["register"]},{"setting":"WRRE","name":"wrreNvmcon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]}],"NVMADR":[{"setting":"NVMADR","name":"nvmadrNvmadr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMDATA0":[{"setting":"DATA0","name":"data0Nvmdata0","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMDATA1":[{"setting":"DATA1","name":"data1Nvmdata1","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMDATA2":[{"setting":"DATA2","name":"data2Nvmdata2","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMDATA3":[{"setting":"DATA3","name":"data3Nvmdata3","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMSRCADR":[{"setting":"SRCADR","name":"srcadrNvmsrcadr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCCON":[{"setting":"FLTINJ","name":"fltinjNvmecccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"SECIE","name":"secieNvmecccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"ECCLOCK","name":"ecclockNvmecccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]}],"NVMECCSTAT":[{"setting":"DED","name":"dedNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"DEDO","name":"dedoNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"SEC","name":"secNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"SECO","name":"secoNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"FLEC","name":"flecNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["register"]},{"setting":"ESEL","name":"eselNvmeccstat","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]}],"NVMECCFPTR":[{"setting":"FLT1LPTR","name":"flt1lptrNvmeccfptr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]},{"setting":"FLT2LPTR","name":"flt2lptrNvmeccfptr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCFADR":[{"setting":"ECCFADR","name":"eccfadrNvmeccfadr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCEADR":[{"setting":"ECCEADR","name":"ecceadrNvmecceadr","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCEDATA0":[{"setting":"ECCEDATA0","name":"eccedata0Nvmeccedata0","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCEDATA1":[{"setting":"ECCEDATA1","name":"eccedata1Nvmeccedata1","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCEDATA2":[{"setting":"ECCEDATA2","name":"eccedata2Nvmeccedata2","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCEDATA3":[{"setting":"ECCEDATA3","name":"eccedata3Nvmeccedata3","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMECCVAL":[{"setting":"ECCVAL","name":"eccvalNvmeccval","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["register"]}],"NVMECCSYND":[{"setting":"ECCSYND","name":"eccsyndNvmeccsynd","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["register"]}],"NVMCRCCON":[{"setting":"CRCEC","name":"crcecNvmcrccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["register"]},{"setting":"OM","name":"omNvmcrccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"CRCIDL","name":"crcidlNvmcrccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"START","name":"startNvmcrccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"ON","name":"onNvmcrccon","category":"hardware","description":"Insert Description Here","type":"boolean","group":"hardware","tabs":["main"]},{"setting":"DELAY","name":"delayNvmcrccon","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMCRCST":[{"setting":"CRCSTART","name":"crcstartNvmcrcst","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMCRCEND":[{"setting":"CRCEND","name":"crcendNvmcrcend","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMCRCSEED":[{"setting":"CRCSEED","name":"crcseedNvmcrcseed","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["main"]}],"NVMCRCDATA":[{"setting":"CRCDATA","name":"crcdataNvmcrcdata","category":"hardware","description":"Insert Description Here","type":"string","group":"hardware","tabs":["register"]}]},"properties":["PROGRAM_BEGIN_ADDRESS","FLASH_HAS_ROW_PROGRAMMING","FLASH_ENDURANCE_MINIMUM","FLASH_WORD_WRITE_SIZE_IN_INSTRUCTIONS","FLASH_END_ADDRESS","FLASH_WORD_WRITE_OP_CODE","FLASH_ERASE_PAGE_SIZE_IN_INSTRUCTIONS","FLASH_WRITE_ROW_SIZE_IN_INSTRUCTIONS","FLASH_HAS_DUAL_PARTITION","FLASH_WRITE_ROW_OP_CODE","FLASH_BYTES_PER_INSTRUCTION","FLASH_HAS_ECC","FLASH_ERASE_PAGE_OP_CODE","FLASH_SECOND_PARTITION_END_ADDRESS","FLASH_FIRST_PARTITION_END_ADDRESS","FLASH_SECOND_PARTITION_PROGRAM_START_ADDRESS","FLASH_SECOND_PARTITION_START_ADDRESS"]}]}