| Motore di ricerca datesheet componenti elettronici |
|
PIC16F1946 Scheda tecnica(PDF) 124 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F1946 Scheda tecnica(HTML) 124 Page - Microchip Technology |
|
124 / 448 page ![]() PIC16(L)F1946/1947 DS41414C-page 124 Preliminary 2010-2011 Microchip Technology Inc. TABLE 11-3: SUMMARY OF REGISTERS ASSOCIATED WITH DATA EEPROM bit 3 WRERR: EEPROM Error Flag bit 1 = Condition indicates an improper program or erase sequence attempt or termination (bit is set automatically on any set attempt (write ‘1’) of the WR bit). 0 = The program or erase operation completed normally. bit 2 WREN: Program/Erase Enable bit 1 = Allows program/erase cycles 0 = Inhibits programming/erasing of program Flash and data EEPROM bit 1 WR: Write Control bit 1 = Initiates a program Flash or data EEPROM program/erase operation. The operation is self-timed and the bit is cleared by hardware once operation is complete. The WR bit can only be set (not cleared) in software. 0 = Program/erase operation to the Flash or data EEPROM is complete and inactive. bit 0 RD: Read Control bit 1 = Initiates an program Flash or data EEPROM read. Read takes one cycle. RD is cleared in hardware. The RD bit can only be set (not cleared) in software. 0 = Does not initiate a program Flash or data EEPROM data read. REGISTER 11-6: EECON2: EEPROM CONTROL 2 REGISTER W-0/0 W-0/0 W-0/0 W-0/0 W-0/0 W-0/0 W-0/0 W-0/0 EEPROM Control Register 2 bit 7 bit 0 Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ S = Bit can only be set x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets ‘1’ = Bit is set ‘0’ = Bit is cleared bit 7-0 Data EEPROM Unlock Pattern bits To unlock writes, a 55h must be written first, followed by an AAh, before setting the WR bit of the EECON1 register. The value written to this register is used to unlock the writes. There are specific timing requirements on these writes. Refer to Section 11.2.2 “Writing to the Data EEPROM Memory” for more information. Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register on Page EECON1 EEPGD CFGS LWLO FREE WRERR WREN WR RD 123 EECON2 EEPROM Control Register 2 (not a physical register) 111* EEADRL EEADRL<7:0> 122 EEADRH — EEADRH<6:0> 123 EEDATL EEDATL<7:0> 122 EEDATH — — EEDATH<5:0> 122 INTCON GIE PEIE TMR0IE INTE IOCIE TMR0IF INTF IOCIF 93 PIE2 OSFIE C2IE C1IE EEIE BCLIE LCDIE C3IE CCP2IE 95 PIR2 OSFIF C2IF C1IF EEIF BCLIF LCDIF C3IF CCP2IF 99 Legend: — = unimplemented location, read as ‘0’. Shaded cells are not used by Data EEPROM module. * Page provides register information. REGISTER 11-5: EECON1: EEPROM CONTROL 1 REGISTER (CONTINUED) |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |