Datasheet
PIC16(L)F1782/3
DS41579D-page 246 Preliminary 2011-2012 Microchip Technology Inc.
REGISTER 24-14: PSMCxASDC: PSMC AUTO-SHUTDOWN CONTROL REGISTER
R/W-0/0 R/W-0/0 R/W-0/0 U-0 U-0 U-0 U-0 R/W-0/0
PxASE PxASDEN PxARSEN
— — — — PxASDOV
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged 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
PxASE: PWM Auto-Shutdown Event Status bit
(1)
1 = A shutdown event has occurred, PWM outputs are inactive and in their shutdown states
0 = PWM outputs are operating normally
bit 6
PxASDEN: PWM Auto-Shutdown Enable bit
1 = Auto-shutdown is enabled. If any of the sources in PSMCxASDS assert a logic ‘1’, then the out-
puts will go into their auto-shutdown state and PSMCxSIF flag will be set.
0 = Auto-shutdown is disabled
bit 5
PxARSEN: PWM Auto-Restart Enable bit
1 = PWM restarts automatically when the shutdown condition is removed.
0 = The PxASE bit must be cleared in firmware to restart PWM after the auto-shutdown condition is
cleared.
bit 4-1
Unimplemented: Read as ‘0’
bit 0
PxASDOV: PWM Auto-Shutdown Override bit
PxASDEN =
1:
1 = Force PxASDL[n] levels on the PSMCx[n] pins without causing a PSMCxSIF interrupt
0 = Normal PWM and auto-shutdown execution
PxASDEN =
0:
No effect
Note 1: PASE bit may be set in software. When this occurs the functionality is the same as that caused by
hardware.