CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 0 AND 1
User’s Manual U15905EJ2V1UD
217
7.4
Control Registers
(1) Timer mode control registers 00 and 10 (TMC00 and TMC10)
The TMCn0 registers control the operation of TMn (n = 0, 1).
These registers can be read or written in 8-bit or 1-bit units.
Be sure to set bits 3 and 2 to 0. If they are set to 1, the operation is not guaranteed.
These registers are cleared to 00H after reset.
Cautions 1. The TMCAEn bit cannot be set at the same time as the other bits. The other bits and the
registers of the other TMn units should always be set after the TMCAEn bit has been set.
Also, to use external pins related to the timer function when the 16-bit timer/event counter
is used, be sure to set (1) the TMCAEn bit after setting the external pins to control mode.
2. When conflict occurs between an overflow and a TMCn0 register write, the OVFn bit value
becomes the value written during the TMCn0 register write (n = 0, 1).
(1/2)
OVFn
No overflow occurs
Overflow occurs
OVFn
0
1
TMn register overflow detection
TMCn0
(n = 0, 1)
CSn2
CSn1
CSn0
0
TMCEn
TMCAEn
65
43
2
<1>
After reset: 00H
R/W
Address: TMC00 FFFFF606H
TMC10 FFFFF616H
When TMn has counted up from FFFFH to 0000H, the OVFn bit becomes 1 and an
overflow interrupt request (INTOVFn) is generated at the same time. However, if
TMn is cleared to 0000H after a match at FFFFH when the CCn0 register is set to
compare mode (CMSn0 bit of TMCn1 register = 1) and clearing is enabled for a
match when TMn and CCn0 are compared (CCLRn bit of TMCn1 register = 1), then
TMn is considered to be cleared and the OVFn bit does not become 1. Also, no
INTOVFn interrupt is generated.
The OVFn bit retains the value 1 until 0 is written directly or until an asynchronous
reset is performed because the TMCAEn bit is 0. An interrupt operation due to an
overflow is independent of the OVFn bit, and the interrupt request flag (OVFIFn) for
INTOVFn is not affected even if the OVFn bit is manipulated. If an overflow occurs
while the OVFn bit is being read, the flag value changes, and the change is reflected
when the next read operation occurs.
<7>
<0>
相关PDF资料
XF2L-0535-1 CONN FPC 5POS 0.5MM SMT
PIC18LF23K22-I/SS IC PIC MCU 8KB FLASH 28SSOP
PIC16LF1933-I/ML IC PIC MCU FLASH 4K 28-QFN
PIC16F1933-I/ML IC MCU 8BIT FLASH 28-QFN
PIC16F785-I/ML IC PIC MCU FLASH 2KX14 20QFN
XF2L-0425-1 CONN FPC 4POS 0.5MM SMT
PIC16F1933-I/MV IC MCU 8BIT FLASH 28-UQFN
PIC16F785-I/SO IC PIC MCU FLASH 2KX14 20SOIC
相关代理商/技术参数
PIC24F08KL302-I/SP 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 256B 3V RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302-I/SS 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/ML 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/MQ 功能描述:16位微控制器 - MCU 8KB FL 1KB RAM 256B 3V RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/SO 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL302T-I/SS 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT
PIC24F08KL401 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F08KL401-I/MQ 功能描述:16位微控制器 - MCU 8KB FLASH 1KB RAM 512B 3V 10-BIT ADC RoHS:否 制造商:Texas Instruments 核心:RISC 处理器系列:MSP430FR572x 数据总线宽度:16 bit 最大时钟频率:24 MHz 程序存储器大小:8 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:2 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:VQFN-40 安装风格:SMD/SMT