| 전자부품 데이터시트 검색엔진 |
|
PIC16F818-E/ML 데이터시트(PDF) 34 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F818-E/ML 데이터시트(HTML) 34 Page - Microchip Technology |
|
34 / 176 page ![]() PIC16F818/819 DS39598E-page 32 2004 Microchip Technology Inc. 3.8 Protection Against Spurious Write There are conditions when the device should not write to the data EEPROM memory. To protect against spurious EEPROM writes, various mechanisms have been built-in. On power-up, WREN is cleared. Also, the Power-up Timer (72 ms duration) prevents an EEPROM write. The write initiate sequence and the WREN bit together help prevent an accidental write during brown-out, power glitch or software malfunction. 3.9 Operation During Code-Protect When the data EEPROM is code-protected, the micro- controller can read and write to the EEPROM normally. However, all external access to the EEPROM is disabled. External write access to the program memory is also disabled. When program memory is code-protected, the micro- controller can read and write to program memory normally as well as execute instructions. Writes by the device may be selectively inhibited to regions of the memory depending on the setting of bits, WRT1:WRT0, of the Configuration Word (see Section 12.1 “Configuration Bits” for additional information). External access to the memory is also disabled. TABLE 3-1: REGISTERS/BITS ASSOCIATED WITH DATA EEPROM AND FLASH PROGRAM MEMORIES Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on Power-on Reset Value on all other Resets 10Ch EEDATA EEPROM/Flash Data Register Low Byte xxxx xxxx uuuu uuuu 10Dh EEADR EEPROM/Flash Address Register Low Byte xxxx xxxx uuuu uuuu 10Eh EEDATH — — EEPROM/Flash Data Register High Byte --xx xxxx --uu uuuu 10Fh EEADRH — — — — — EEPROM/Flash Address Register High Byte ---- -xxx ---- -uuu 18Ch EECON1 EEPGD — — FREE WRERR WREN WR RD x--x x000 x--x q000 18Dh EECON2 EEPROM Control Register 2 (not a physical register) ---- ---- ---- ---- 0Dh PIR2 — — — EEIF — — — — ---0 ---- ---0 ---- 8Dh PIE2 — — —EEIE — — — — ---0 ---- ---0 ---- Legend: x = unknown, u = unchanged, - = unimplemented, read as ‘0’, q = value depends upon condition. Shaded cells are not used by data EEPROM or Flash program memory. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |