參數(shù)資料
型號: MC68HC901FNR2
廠商: MOTOROLA INC
元件分類: 外設(shè)及接口
英文描述: MULTIFUNCTION PERIPHERAL, PQCC52
封裝: PLASTIC, LCC-52
文件頁數(shù): 35/73頁
文件大小: 274K
代理商: MC68HC901FNR2
Timers
MOTOROLA
MC68HC901 USER’S MANUAL
6-3
The state of the active edge bit also specifies whether a zero-to-one transition or a one-to-
zero transition of the auxiliary input pin will produce an interrupt when the interrupt channel
is enabled. In normal operation, programming the active edge bit to a one will produce an
interrupt on the zero-to-one transition of the associated input signal. Alternately,
programming the edge bit to a zero will produce an interrupt on the one-to-zero transition of
the input signal. However, in the pulse width measurement mode, the interrupt generated
by a transition on TAI or TBI will occur on the opposite transition as that normally defined by
the edge bit.
For example, in the pulse width measurement mode, if the edge bit is a one, the timer will
be allowed to run while the auxiliary input is high. When the input transitions from high to
low, the timer will stop and, if the interrupt channel is enabled, an interrupt will occur. By
having the interrupt occur on the one-to-zero transition instead of the zero-to-one transition,
the processor will be interrupted when the pulse being measured has been terminated and
the width of the pulse from the timer is available.
After reading the contents of the timer, the processor must re-initialize the main counter by
writing to the timer data register to allow consecutive pulses to be measured. If the data
register is written after the auxiliary input signal becomes active, the timer will count from the
previous contents of the timer data register until it counts through 01 (hexadecimal). At that
time, the main counter is loaded with the new value from the timer data register, a time out
pulse is generated which will toggle the timer output, and an interrupt may be optionally
generated on the timer interrupt channel. Note that the pulse width measured includes
counts from before the main counter was reloaded. If the timer data register is written while
the pulse is transitioning to the active state, an indeterminate value may be written into the
main counter.
Once the timer is reprogrammed for another mode, interrupts will again occur as normally
defined by the edge bit. Note that an interrupt may be generated as the result of placing the
timer into the pulse width measurement mode or by reprogramming the timer for another
mode. Also, an interrupt may be generated by changing the state of the edge bit while in the
pulse width measurement mode.
6.1.3 Event Count Mode Operation
In addition to the delay mode and the pulse width measurement mode, timers A and B may
be programmed to operate in the event count mode. Like the pulse width measurement
mode, the event count mode requires an auxiliary input signal, TAI or TBI. General purpose
lines I3 and I4 can be used for I/O or as interrupt producing inputs.
In the event count mode, the prescaler is disabled allowing each active transition on TAI and
TBI to produce a count pulse. The count pulse causes the main counter to decrement by
one. When the timer counts through 01 (hexadecimal), a time out pulse is generated which
will cause the output signal to toggle and may optionally produce an interrupt via the
associated timer interrupt channel. The timer's main counter is also reloaded from the timer
data register. To count transitions reliably, the input signal may only transition once every
four timer clock periods. For this reason, the input signal must have a maximum frequency
of one-fourth that of the timer clock.
相關(guān)PDF資料
PDF描述
MC68HC908AS32AVFUE 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PQFP64
MC68HC908AS32AMFNE 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PQCC52
MC68HC908AS32AVFNE 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PQCC52
MC68HC908AS32AVFN 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PQCC52
MC68HC908AS32AMFN 8-BIT, FLASH, 8.4 MHz, MICROCONTROLLER, PQCC52
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC908AB32CFU 功能描述:IC MCU 8MHZ 32K FLASH 64-QFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 其它有關(guān)文件:STM32F101T8 View All Specifications 特色產(chǎn)品:STM32 32-bit Cortex MCUs 標(biāo)準(zhǔn)包裝:490 系列:STM32 F1 核心處理器:ARM? Cortex?-M3 芯體尺寸:32-位 速度:36MHz 連通性:I²C,IrDA,LIN,SPI,UART/USART 外圍設(shè)備:DMA,PDR,POR,PVD,PWM,溫度傳感器,WDT 輸入/輸出數(shù):26 程序存儲器容量:64KB(64K x 8) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):2 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 10x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:36-VFQFN,36-VFQFPN 包裝:托盤 配用:497-10030-ND - STARTER KIT FOR STM32497-8853-ND - BOARD DEMO STM32 UNIV USB-UUSCIKSDKSTM32-PL-ND - KIT IAR KICKSTART STM32 CORTEXM3497-8512-ND - KIT STARTER FOR STM32F10XE MCU497-8505-ND - KIT STARTER FOR STM32F10XE MCU497-8304-ND - KIT STM32 MOTOR DRIVER BLDC497-6438-ND - BOARD EVALUTION FOR STM32 512K497-6289-ND - KIT PERFORMANCE STICK FOR STM32MCBSTM32UME-ND - BOARD EVAL MCBSTM32 + ULINK-MEMCBSTM32U-ND - BOARD EVAL MCBSTM32 + ULINK2更多... 其它名稱:497-9032STM32F101T8U6-ND
MC68HC908AB32MFU 制造商:Rochester Electronics LLC 功能描述:32K FLASH & 512 EE - Bulk
MC68HC908AB32MPB 功能描述:IC MCU 32K FLASH 8MHZ 64-LQFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908AP16CB 功能描述:IC MCU 16K FLASH 8MHZ 42SDIP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908AP16CBE 制造商:Freescale Semiconductor 功能描述: