|
PIC18LF24K Datasheet, PDF (75/594 Pages) – | |||
|
◁ |
PIC18(L)F26/45/46K40
8.2 Register Definitions: Power Control
REGISTER 8-2: PCON0: POWER CONTROL REGISTER 0
R/W/HS-0/q R/W/HS-0/q R/W/HC-1/q R/W/HC-1/q R/W/HC-1/q
STKOVF
STKUNF
WDTWV
RWDT
RMCLR
bit 7
R/W/HC-1/q
RI
R/W/HC-0/u R/W/HC-q/u
POR
BOR
bit 0
Legend:
HC = Bit is cleared by hardware
R = Readable bit
W = Writable bit
u = Bit is unchanged
x = Bit is unknown
â1â = Bit is set
â0â = Bit is cleared
HS = Bit is set by hardware
U = Unimplemented bit, read as â0â
-m/n = Value at POR and BOR/Value at all other Resets
q = Value depends on condition
bit 7
STKOVF: Stack Overflow Flag bit
1 = A Stack Overflow occurred (more CALLs than fit on the stack)
0 = A Stack Overflow has not occurred or set to â0â by firmware
bit 6
STKUNF: Stack Underflow Flag bit
1 = A Stack Underflow occurred (more RETURNs than CALLs)
0 = A Stack Underflow has not occurred or set to â0â by firmware
bit 5
WDTWV: Watchdog Window Violation bit
1 = A WDT window violation has not occurred or set to â1â by firmware
0 = A CLRWDT instruction was issued when the WDT Reset window was closed (set to â0â in hardware
when a WDT window violation Reset occurs)
bit 4
RWDT: WDT Reset Flag bit
1 = A WDT overflow/time-out Reset has not occurred or set to â1â by firmware
0 = A WDT overflow/time-out Reset has occurred (set to â0â in hardware when a WDT Reset occurs)
bit 3
RMCLR: MCLR Reset Flag bit
1 = A MCLR Reset has not occurred or set to â1â by firmware
0 = A MCLR Reset has occurred (set to â0â in hardware when a MCLR Reset occurs)
bit 2
RI: RESET Instruction Flag bit
1 = A RESET instruction has not been executed or set to â1â by firmware
0 = A RESET instruction has been executed (set to â0â in hardware upon executing a RESET
instruction)
bit 1
POR: Power-on Reset Status bit
1 = No Power-on Reset occurred or set to â1â by firmware
0 = A Power-on Reset occurred (set to â0â in hardware when a Power-on Reset occurs)
bit 0
BOR: Brown-out Reset Status bit
1 = No Brown-out Reset occurred or set to â1â by firmware
0 = A Brown-out Reset occurred (set to â0â in hardware when a Brown-out Reset occurs)
ï£ 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 75
|
▷ |