参数资料
型号: ST72622L2T1
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP44
封装: TQFP-44
文件页数: 76/134页
文件大小: 815K
代理商: ST72622L2T1
ST7262
46/134
PWM AUTO-RELOAD TIMER (Cont’d)
Input capture function
This mode allows the measurement of external
signal pulse widths through ICRx registers.
Each input capture can generate an interrupt inde-
pendently on a selected input signal transition.
This event is flagged by a set of the corresponding
CFx bits of the Input Capture Control/Status regis-
ter (ICCSR).
These
input
capture interrupts are
enabled
through the CIEx bits of the ICCSR register.
The active transition (falling or rising edge) is soft-
ware programmable through the CSx bits of the
ICCSR register.
The read only input capture registers (ICRx) are
used to latch the auto-reload counter value when a
transition is detected on the ARTICx pin (CFx bit
set in ICCSR register). After fetching the interrupt
vector, the CFx flags can be read to identify the in-
terrupt source.
Note: After a capture detection, data transfer in
the ICRx register is inhibited until it is read (clear-
ing the CFx bit).
The timer interrupt remains pending while the CFx
flag is set when the interrupt is enabled (CIEx bit
set). This means, the ICRx register has to be read
at each capture event to clear the CFx flag.
The timing resolution is given by auto-reload coun-
ter cycle time (1/fCOUNTER).
During HALT mode, input capture is inhibited (the
ICRx is never re-loaded) and only the external in-
terrupt capability can be used.
External interrupt capability
This mode allows the Input capture capabilities to
be used as external interrupt sources.
The edge sensitivity of the external interrupts is
programmable (CSx bit of ICCSR register) and
they are independently enabled through CIEx bits
of the ICCSR register. After fetching the interrupt
vector, the CFx flags can be read to identify the in-
terrupt source.
The interrupts are synchronized on the counter
clock rising edge (Figure 33).
During HALT mode, the external interrupts can still
be used to wake up the micro (if CIEx bit is set).
Figure 33. ART External Interrupt
Figure 34. Input Capture Timing Diagram
ARTICx PIN
CFx FLAG
t
fCOUNTER
INTERRUPT
COUNTER
t
01h
fCOUNTER
xxh
02h
03h
04h
05h
06h
07h
04h
ARTICx PIN
CFx FLAG
ICRx REGISTER
INTERRUPT
1
相关PDF资料
PDF描述
ST72621L4T1 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP44
ST72632K2B1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP32
ST72E631K4D0 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, PDIP32
ST72633K1M1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO34
ST7263BK1M1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO34
相关代理商/技术参数
参数描述
ST7263-EMU2 功能描述:仿真器/模拟器 ST7 Emulator Board RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ST7265X-EVAL/MS 制造商:STMicroelectronics 功能描述:ST6 EVAL BD - Bulk
ST7265X-EVAL/PFD 制造商:STMicroelectronics 功能描述:USB FLASH EVAL - Bulk
ST7266 制造商:6940 功能描述:ST7266
ST7267C8T1L 制造商:STMicroelectronics 功能描述: