| Electronic Components Datasheet Search |
|
STC12LE5616AD Datasheet(PDF) 243 Page - STCmicro Technology Co,.Ltd |
|
|
|||||||||||||||||||||||||||||
STC12LE5616AD Datasheet(HTML) 243 Page - STCmicro Technology Co,.Ltd |
|
243 / 377 page ![]() Capture/Compare register of PCA module 3 : CCAPM3 (Non bit-addressable) SFR name Address bit B7B6B5 B4 B3 B2 B1 B0 CCAPM3 DDH name - ECOM3 CAPP3 CAPN3 MAT3 TOG3 PWM3 ECCF3 ECOM3 : Comparator Enable bit. ECOM3=0 disables the comparator function; ECOM3=1 enables the comparator function. CAPP3 : Capture Positive control bit. CAPP3=1 enables positive edge capture. CAPN3 : Capture Negative control bit. CAPN3=1 enables negative edge capture. MAT3 : Match control bit. When MAT3 = 1, a match of the PCA counter with this module’s compare/capture register causes the CCF3 bit in CCON to be set. TOG3 : Toggle control bit. When TOG3=1, a match of the PCA counter =with this module’s compare/capture register causes the CCP3 pin to toggle. (PCA3/PWM3/P2.4) PWM3 : Pulse Width Modulation. PWM3=1 enables the CEX3 pin to be used as a pulse width modulated output. (PCA3/PWM3/P2.4) ECCF3 : Enable CCF3 interrupt. Enables compare/capture flag CCF3 in the CCON register to generate an interrupt. The operation mode of PCA modules set as shown in the below table. Setting the operation mode of PCA modules CCAPMn register n = 0,1,2,3 - ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn Function of PCA modules 0 0 0 0 0 0 0 No operation 1 0 0 0 0 1 0 8-bit PWM, no interrupt 11 0 0 0 1 1 8-bit PWM output, interrupt can be generated on rising edge. 10 1 0 0 1 1 8-bit PWM output, interrupt can be generated on falling edge. 11 1 0 0 1 1 8-bit PWM output, interrupt can be generated on both rising and falling edges. X1 0 0 0 0 X 16-bit Capture Mode, caputre triggered by the rising edge on CCPn/PCAn pin X0 1 0 0 0 X 16-bit Capture Mode, capture triggered by the falling edge on CCPn/PCAn pin X1 1 0 0 0 X 16-bit Capture Mode, capture triggered by the transition on CCPn/PCAn pin 1 0 0 1 0 0 X 16-bit software timer 1 0 0 1 1 0 X 16-bit high-speed output 243 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |