| 数据搜索系统,热门电子元器件搜索 |
|
ST10F280 数据表(PDF) 96 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F280 数据表(HTML) 96 Page - STMicroelectronics |
|
96 / 186 page ![]() ST10F280 96/186 P7 (FFD0h / E8h) SFR Reset Value: - - 00h DP7 (FFD2h / E9h) SFR Reset Value: - - 00h ODP7 (F1D2h / E9h) ESFR Reset Value: - - 00h 12.9.1 - Alternate Functions of Port 7 The upper 4 lines of Port 7 (P7.7...P7.4) serve as capture inputs or compare outputs (CC31IO...CC28IO) for the CAPCOM2 unit. The usage of the port lines by the CAPCOM unit, its accessibility via software and the precautions are the same as described for the Port 2 lines. As all other capture inputs, the capture input func- tion of pins P7.7...P7.4 can also be used as exter- nal interrupt inputs (200 ns sample rate at 40MHz CPU clock). The lower 4 lines of Port 7 (P7.3...P7.0) serve as outputs from the PWM module (POUT3...POUT0). At these pins the value of the respective port output latch is XORed with the value of the PWM output rather than ANDed, as the other pins do. This allows to use the alternate output value either as it is (port latch holds a ‘0’) or invert its level at the pin (port latch holds a ‘1’). Note that the PWM outputs must be enabled via the respective PENx bits in PWMCON1. The table below summarizes the alternate func- tions of Port 7. 15 14 13 12 11 10 98 765 432 10 - - - - - - - - P7.7 P7.6 P7.5 P7.4 P7.3 P7.2 P7.1 P7.0 RW RW RW RW RW RW RW RW P7.y Port data register P7 bit y 15 14 13 12 11 10 98 765 432 10 - - - - - - - - DP7.7 DP7.6 DP7.5 DP7.4 DP7.3 DP7.2 DP7.1 DP7.0 RW RW RW RW RW RW RW RW DP7.y Port direction register DP7 bit y DP7.y = 0: Port line P7.y is an input (high impedance) DP7.y = 1: Port line P7.y is an output 15 14 13 12 11 10 9 8 76543 210 ----- --- ODP7.7 ODP7.6 ODP7.5 ODP7.4 ODP7.3 ODP7.2 ODP7.1 ODP7.0 RW RW RW RW RW RW RW RW ODP7.y Port 7 Open Drain control register bit y ODP7.y = 0: Port line P7.y output driver in push-pull mode ODP7.y = 1: Port line P7.y output driver in open drain mode Table 19 : Port 7 Alternate Functions Port 7 Pin Alternate Function P7.0 P7.1 P7.2 P7.3 P7.4 P7.5 P7.6 P7.7 POUT0 PWM mode channel 0 output POUT1 PWM mode channel 1 output POUT2 PWM mode channel 2 output POUT3 PWM mode channel 3 output CC28IO Capture input / compare output channel 28 CC29IO Capture input / compare output channel 29 CC30IO Capture input / compare output channel 30 CC31IO Capture input / compare output channel 31 |
|
链接网址 |
| 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 |