Triple Timer Module Programming Model
Table 9-3. Timer Control/Status Register (TCSR) Bit Definitions (Continued)
Bit Number
13
Bit Name
DO
Reset Value
0
Data Output
Description
The source of the TIO value when it is a data output signal. The TIO signal is
a data output when the GPIO mode is enabled and DIR is set. A value written
to the DO bit is written to the TIO signal. If the INV bit is set, the value of the
DO bit is inverted when written to the TIO signal. When the INV bit is cleared,
the value of the DO bit is written directly to the TIO signal. When GPIO mode
is disabled, writing to the DO bit has no effect.
12
DI
0
Data Input
Reflects the value of the TIO signal. If the INV bit is set, the value of the TIO
signal is inverted before it is written to the DI bit. If the INV bit is cleared, the
value of the TIO signal is written directly to the DI bit.
11
DIR
0
Direction
Determines the behavior of the TIO signal when it functions as a GPIO signal.
When DIR is set, the TIO signal is an output; when DIR is cleared, the TIO
signal is an input. The TIO signal functions as a GPIO signal only when the
TC[3–0] bits are cleared. If any of the TC[3–0] bits are set, then the GPIO
function is disabled, and the DIR bit has no effect.
10
0
Reserved. Write to zero for future compatibility.
9
TRM
0
Timer Reload Mode
Controls the counter preload operation. In timer (0–3) and watchdog (9–10)
modes, the counter is preloaded with the TLR value after the TCSR[TE] bit is
set and the first internal or external clock signal is received. If the TRM bit is
set, the counter is reloaded each time after it reaches the value contained by
the TCR. In PWM mode (7), the counter is reloaded each time counter
overflow occurs. In measurement (4–5) modes, if the TRM and the TCSR[TE]
bits are set, the counter is preloaded with the TLR value on each appropriate
edge of the input signal. If the TRM bit is cleared, the counter operates as a
free running counter and is incremented on each incoming event.
8
INV
0
Inverter
Affects the polarity definition of the incoming signal on the TIO signal when
TIO is programmed as input. It also affects the polarity of the output pulse
generated on the TIO signal when TIO is programmed as output. See Table
9-4 , Inverter (INV) Bit Operation, on page 9-27. The INV bit does not affect
the polarity of the prescaler source when the TIO is input to the prescaler.
Note:
The INV bit affects both the timer and GPIO modes of operation. To
ensure correct operation, change this bit only when one or both of
the following conditions is true: the timer is disabled (the TCSR[TE]
bit is cleared). The timer is in GPIO mode.
DSP56311 User’s Manual, Rev. 2
Freescale Semiconductor
9-25
相关PDF资料
DSPAUDIOEVMMB1E BOARD MOTHER DSP563XX
DSPIC30F2010 DEVELOPMENT KIT KIT DEV EMBEDDED C
DSTRM-KT-0181A DSTREAM DEBUG AND TRACE UNIT
DSUT1CSU SURGE SUPPR NETWORK W/GROUND
DTEL2 SURGE SUPPRESSOR PHONE RJ11/RJ45
DV003001 PROGRAMMER PICSTART PLUS 16C/17C
DV164035 MPLAB ICD3 IN-CIRC DEBUGGER
DV164039 KIT DEV PIC24FJ256DA210
相关代理商/技术参数
DSP56311EVMIG_D 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311EVMIG DSP56311EVM Sample Code
DSP56311EVMUM 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Evaluation Module Hardware Reference Manual
DSP56311FACT 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Higher performance programmable DSP for demanding voice and data applications
DSP56311UM 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 24-Bit Digital Signal Processor Users Manual
DSP56311UMAD 制造商:未知厂家 制造商全称:未知厂家 功能描述:DSP56311 Users Manual Addendum
DSP56311VF150 功能描述:数字信号处理器和控制器 - DSP, DSC 150Mhz/300MMACS 150Mhz EFCOP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSP56311VF150B1 功能描述:数字信号处理器和控制器 - DSP, DSC 24 BIT DSP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT
DSP56311VF150R2 功能描述:数字信号处理器和控制器 - DSP, DSC 24 BIT DSP RoHS:否 制造商:Microchip Technology 核心:dsPIC 数据总线宽度:16 bit 程序存储器大小:16 KB 数据 RAM 大小:2 KB 最大时钟频率:40 MHz 可编程输入/输出端数量:35 定时器数量:3 设备每秒兆指令数:50 MIPs 工作电源电压:3.3 V 最大工作温度:+ 85 C 封装 / 箱体:TQFP-44 安装风格:SMD/SMT