21.01.2015 Views

PIC12F683 Data Sheet - Microchip

PIC12F683 Data Sheet - Microchip

PIC12F683 Data Sheet - Microchip

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PIC12F683</strong><br />

TABLE 12-4:<br />

INITIALIZATION CONDITION FOR REGISTERS (CONTINUED)<br />

Register Address Power-on Reset<br />

MCLR Reset<br />

WDT Reset<br />

Brown-out Reset (1)<br />

Wake-up from Sleep<br />

through Interrupt<br />

Wake-up from Sleep through<br />

WDT Time-out<br />

EECON1 9Ch ---- x000 ---- q000 ---- uuuu<br />

EECON2 9Dh ---- ---- ---- ---- ---- ----<br />

ADRESL 9Eh xxxx xxxx uuuu uuuu uuuu uuuu<br />

ANSEL 9Fh -000 1111 -000 1111 -uuu uuuu<br />

Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, q = value depends on condition.<br />

Note 1: If VDD goes too low, Power-on Reset will be activated and registers will be affected differently.<br />

2: One or more bits in INTCON and/or PIR1 will be affected (to cause wake-up).<br />

3: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt<br />

vector (0004h).<br />

4: See Table 12-5 for Reset value for specific condition.<br />

5: If Reset was due to brown-out, then bit 0 = 0. All other Resets will cause bit 0 = u.<br />

TABLE 12-5:<br />

INITIALIZATION CONDITION FOR SPECIAL REGISTERS<br />

Condition<br />

Program<br />

Counter<br />

Status<br />

Register<br />

PCON<br />

Register<br />

Power-on Reset 000h 0001 1xxx --01 --0x<br />

MCLR Reset during Normal Operation 000h 000u uuuu --0u --uu<br />

MCLR Reset during Sleep 000h 0001 0uuu --0u --uu<br />

WDT Reset 000h 0000 uuuu --0u --uu<br />

WDT Wake-up PC + 1 uuu0 0uuu --uu --uu<br />

Brown-out Reset 000h 0001 1uuu --01 --10<br />

Interrupt Wake-up from Sleep PC + 1 (1) uuu1 0uuu --uu --uu<br />

Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’.<br />

Note 1: When the wake-up is due to an interrupt and Global Interrupt Enable bit, GIE, is set, the PC is loaded with<br />

the interrupt vector (0004h) after execution of PC + 1.<br />

© 2007 <strong>Microchip</strong> Technology Inc. DS41211D-page 91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!