| Electronic Components Datasheet Search |
|
PIC16F15213T-I/ST Datasheet(PDF) 111 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213T-I/ST Datasheet(HTML) 111 Page - Microchip Technology |
|
111 / 439 page ![]() Note: Sequence begins when NVMCON2 is written; the three unlock steps must occur in the cycle-accurate order shown. If the timing of the sequence is corrupted by an interrupt or a debugger Halt, the action will not take place. 15.1.2.3 NVMREG Erase of Program Memory Before writing to program memory, the word(s) to be written must be erased or previously unwritten. Program memory can only be erased one row at a time. No automatic erase occurs upon the initiation of the write to program memory. To erase a program memory row: 1. Clear the NVMREGS bit to erase program memory locations, or set the NMVREGS bit to erase User ID locations. 2. Write the desired address into the NVMADRH:NVMADRL register pair. 3. Set the FREE and WREN bits. 4. Perform the unlock sequence as described in the NVM Unlock Sequence section. If the program memory address is write-protected, the WR bit will be cleared and the erase operation will not take place. While erasing program memory, the CPU operation is suspended and resumes when the operation is complete. Upon completion, the NVMIF bit is set, and an interrupt will occur if the NVMIE bit is also set. Write latch data is not affected by erase operations, and WREN will remain unchanged. PIC16F15213/14/23/24/43/44 NVM - Nonvolatile Memory Control © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 111 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |