| Electronic Components Datasheet Search |
|
PIC16F18323-E/RFQTP Datasheet(PDF) 117 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F18323-E/RFQTP Datasheet(HTML) 117 Page - Microchip Technology |
|
117 / 442 page ![]() 2015 Microchip Technology Inc. Preliminary DS40001799A-page 117 PIC16(L)F18313/18323 FIGURE 10-5: PROGRAM FLASH MEMORY WRITE FLOWCHART Start Write Operation Determine number of words to be written into Program Flash Memory or Configuration Memory. The number of words cannot exceed the number of words per row (word_cnt) Select Program Flash Memory or Config. Memory (NVMREGS) Select Row Address (NVMADRH:NVMADRL) Select Write Operation (FREE = 0) Load Write Latches Only (LWLO = 1) Disable Interrupts (GIE = 0) Enable Write/Erase Operation (WREN = 1) Load the value to write (NVMDATH:NVMDATL) Update the word counter (word_cnt--) Last word to write? Unlock Sequence No delay when writing to Program Flash Memory Latches Re-enable Interrupts (GIE = 1) Write Latches to Program Flash Memory (LWLO = 0) Disable Interrupts (GIE = 0) CPU stalls while Write operation completes (2 ms typical) Disable Write/Erase Operation (WREN = 0) End Write Operation Increment Address (NVMADRH:NVMADRL++) Unlock Sequence Re-enable Interrupts (GIE = 1) Yes No |
|
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 |