| 数据搜索系统,热门电子元器件搜索 |
|
AT83C5111 数据表(PDF) 48 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT83C5111 数据表(HTML) 48 Page - ATMEL Corporation |
|
48 / 86 page ![]() 48 AT8xC5111 4190A–8051–11/02 • The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function. Table 35 shows the CCAPMn settings for the various PCA functions. Table 3. CCAPMn: PCA Modules Compare/Capture Control Registers CAPMn Address n = 0 - 4 7654 3210 - ECOMn CAPPn CAPn MATn TOGn PWMm ECCFn Bit Number Bit Mnemonic Description 7 - Not implemented, reserved for future use. (1) 1. User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features. In that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. The value read from a reserved bit is indeterminate. 6 ECOMn Enable Comparator. ECOMn = 1 enables the comparator function. 5 CAPPn Capture Positive, CAPPn = 1 enables positive edge capture. 4 CAPNn Capture Negative, CAPNn = 1 enables negative edge capture. 3MATn Match. When MATn = 1, a match of the PCA counter with this module’s compare/capture register causes the CCFn bit in CCON to be set, flagging an interrupt. 2TOGn Toggle. When TOGn = 1, a match of the PCA counter with this module’s compare/capture register causes the CEXn pin to toggle. 1PWMn Pulse Width Modulation Mode. PWMn = 1 enables the CEXn pin to be used as a pulse width modulated output. 0 ECCFn Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to generate an interrupt. Reset value = X000000 Table 4. PCA Module Modes (CCAPMn Registers) ECOMn CAPPn CAPNn MATn TOGn PWMm ECCFn Module Function 00 000 00 No Operation X 1 000 0 X 16-bit capture by a positive-edge trigger on CEXn X 0 100 0 X 16-bit capture by a negative trigger on CEXn X 1 100 0 X 16-bit capture by a transition on CEXn 10 010 0 X 16-bit Software Timer/Compare mode. 1 0 0 1 1 0 X 16-bit High-speed Output 10 000 10 8-bit PWM 1 0 0 1 X 0 X Watchdog Timer (module 4 only) |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |