Microchip Technology MCP1631RD-MCC2 데이터 시트

다운로드
페이지 338
PIC16F882/883/884/886/887
DS41291G-page 146
 2006-2012 Microchip Technology Inc.
  
REGISTER 11-3:
ECCPAS: ENHANCED CAPTURE/COMPARE/PWM AUTO-SHUTDOWN 
CONTROL REGISTER
R/W-0
R/W-0
R/W-0
R/W-0 R/W-0 R/W-0  R/W-0 R/W-0
ECCPASE
ECCPAS2
ECCPAS1
ECCPAS0
PSSAC1
PSSAC0
PSSBD1
PSSBD0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
ECCPASE: ECCP Auto-Shutdown Event Status bit 
1 = A shutdown event has occurred; ECCP outputs are in shutdown state
0 = ECCP outputs are operating
bit 6-4
ECCPAS<2:0>: ECCP Auto-shutdown Source Select bits
000 = Auto-Shutdown is disabled
001 = Comparator C1 output high
010 = Comparator C2 output high
(1)
011 = Either Comparators output is high
100  = V
IL
 on INT pin
101  = V
IL
 on INT pin or Comparator C1 output high
110  = V
IL
 on INT pin or Comparator C2 output high
111 =V
IL
 on INT pin or either Comparators output is high
bit 3-2
PSSACn: Pins P1A and P1C Shutdown State Control bits
00 = Drive pins P1A and P1C to ‘0’
01 = Drive pins P1A and P1C to ‘1’
1x = Pins P1A and P1C tri-state
bit 1-0
PSSBDn: Pins P1B and P1D Shutdown State Control bits
00 = Drive pins P1B and P1D to ‘0’
01 = Drive pins P1B and P1D to ‘1’
1x = Pins P1B and P1D tri-state
Note 1:
If C2SYNC is enabled, the shutdown will be delayed by Timer1.
Note 1: The auto-shutdown condition is a level-
based signal, not an edge-based signal.
As long as the level is present, the auto-
shutdown will persist.
2: Writing to the ECCPASE bit is disabled
while an auto-shutdown condition
persists.
3: Once the auto-shutdown condition has
been removed and the PWM restarted
(either through firmware or auto-restart)
the PWM signal will always restart at the
beginning of the next PWM period.