參數(shù)資料
型號: CR16HCT5
文件頁數(shù): 61/157頁
文件大?。?/td> 1256K
代理商: CR16HCT5
61
www.national.com
refers to timer subsystem 1 but equally applies to the other
three timer subsystems.
Figure 22.
VTU Dual 16-bit Capture Mode
16.1.4
In case a timer subsystem is not used, the user can place it
in a low-power-mode. All clocks to a timer subsystem are
stopped and the counter and prescaler contents are frozen
once low-power-mode is entered. The user may continue to
write to the MODE, INTCTL, IOxCTL and CLKxPS registers.
Write operations to the INTPND register are allowed; but if a
timer subsystem is in low power mode, its associated inter-
rupt pending bits cannot be cleared. The user cannot write to
the COUNTx, PERCAPx and DTYCAPx registers of a timer
subsystem while it is in low-power-mode. All registers can be
read at any time.
Low Power Mode
16.1.5
The Versatile-Timer-Unit (VTU) has a total of 16 interrupt
sources, four for each of the four timer subsystems. All inter-
rupt sources have a pending flag and an enable bit associat-
Interrupts
ed with them. All interrupt pending flags are denoted IxAPD
through IxDPD where “x” relates to the specific timer sub-
system. There is one system level interrupt request for each
of the four timer subsystems.
Figure 23 illustrates the interrupt structure of the versatile
timer module.
Figure 23.
VTU Interrupt Request Structure
Each of the timer pending flags - IxAPD through IxDPD - is
set by a specific hardware event depending on the mode of
operation, i.e., PWM or Capture mode. Table 17 outlines the
specific hardware events relative to the operation mode
which cause an interrupt pending flag to be set.
16.1.6
The VTU supports breakpoint operation of the In-System-
Emulator (ISE). If FREEZE is asserted, all timer counter
clocks will be inhibited and the current value of the timer reg-
isters will be frozen; in capture mode, all further capture
events are disabled. Once FREEZE becomes inactive,
counting will resume from the previous value and the capture
input events are re-enabled.
ISE Mode operation
16.2
The Versatile-Timer-Unit contains a total of 19 user accessi-
ble registers. All registers are word-wide and are initialized to
a known value upon reset. All software accesses to the VTU
registers must be word accesses.
VTU REGISTERS
Prescaler
Counter
C1PRSC
==
COUNT1[15:0]
PERCAP1[15:0]
DTYCAP1[15:0]
capture
capture
0
7
0
15
[15:0]
TIO1
C1EDG
T1RUN
Restart
2
0
TIO2
C2EDG
2
0
cap
cap
rst
rst
TMOD1=11
I1APD
I1BPD
I1CPD
I1DPD
I1AEN
I1BEN
I1CEN
I1DEN
System
Interrupt
Request 1
I4APD
I4BPD
I4CPD
I4DPD
I4AEN
I4BEN
I4CEN
I4DEN
System
Interrupt
Request 4
Table 17
VTU Interrupt Sources
Pending Flag
Dual 8-bit PWM Mode
16-bit PWM Mode
Capture Mode
IxAPD
IxBPD
IxCPD
IxDPD
Low Byte Duty Cycle match
Low Byte Period match
High Byte Duty Cycle match
High Byte Period match
Duty Cycle match
Period match
N/A
N/A
Capture to DTYCAPx
Capture to PERCAPx
Counter Overflow
N/A
相關(guān)PDF資料
PDF描述
CR16HCT5VJE7Y Microcontroller
CR16HCT5VJE8Y Microcontroller
CR16HCT5VJE9Y Microcontroller
CR16HCT9
CR16HCT9VJE7 Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CR16HCT5VJE7Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT5VJE8Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT5VJE9Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16HCT5VJEXY 制造商:NSC 制造商全稱:National Semiconductor 功能描述:CR16MCT9/CR16MCT5/CR16HCT9/CR16HCT5 16-Bit Reprogrammable/ROM Microcontroller
CR16HCT9 制造商:NSC 制造商全稱:National Semiconductor 功能描述:CR16MCT9/CR16MCT5/CR16HCT9/CR16HCT5 16-Bit Reprogrammable/ROM Microcontroller