CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U16898EJ6V0UD
113
6.4.5
PPG output operations
Setting 16-bit timer mode control register 00 (TMC00) and capture/compare control register 00 (CRC00) as shown
in Figure 6-29 allows operation as PPG (Programmable Pulse Generator) output.
Setting
The basic operation setting procedure is as follows.
<1>
Set the CRC00 register (see Figure 6-29 for the set value).
<2>
Set any value to the CR000 register as the cycle.
<3>
Set any value to the CR010 register as the duty factor.
<4>
Set the TOC00 register (see Figure 6-29 for the set value).
<5>
Set the count clock by using the PRM00 register.
<6>
Set the TMC00 register to start the operation (see Figure 6-29 for the set value).
Caution
Changing the CRC0n0 setting during TM00 operation may cause a malfunction. To change the
setting, refer to 6.5 Cautions Related to 16-bit Timer/Event Counter 00 (17) Changing compare
register during timer operation.
Remarks 1. For the setting of the TO00 pin, see 6.3 (5) Port mode register 3 (PM3).
2. For how to enable the INTTM000 interrupt, see CHAPTER 12 INTERRUPT FUNCTIONS.
3. n = 0 or 1
In the PPG output operation, rectangular waves are output from the TO00 pin with the pulse width and the cycle
that correspond to the count values preset in 16-bit timer capture/compare register 010 (CR010) and in 16-bit timer
capture/compare register 000 (CR000), respectively.
相关PDF资料
UPD78F9234CS-CAA-A MCU 8BIT 8KB FLASH 30PIN
UPD78F9418AGC-8BT-A IC MCU 8BIT 32K FLASH 80QFP
USB-232-DIL IC USB ASYNC SRL UART 28-DIL
USB-DAQ-DIL IC SYSTEM DATA LOGGER 28-DIL
USB-FILESYS-DIL IC SYSTEM USB FAT FILE 28-DIL
USB-I2C-DIL IC USB SYNC SRL I2C 28-DIL
USB-SPI-DIL IC USB SYNC SRL SPI 28-DIL
USB2SERA10CFK USB TO SERIAL BRIDGE
相关代理商/技术参数
UPD78F9222MC 制造商:Renesas Electronics Corporation 功能描述:UPD78F9222MC
UPD78F9222MC(A)-5A4-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9222MC(T)-5A4 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9222MC(T)-5A4-A 制造商:NEC Electronics Corporation 功能描述:8BIT MCU 4K FLASH 256B RAM 78F9222 制造商:NEC Electronics Corporation 功能描述:8BIT MCU, 4K FLASH, 256B RAM, 78F9222 制造商:NEC Electronics Corporation 功能描述:8BIT MCU, 4K FLASH, 256B RAM, 78F9222; Controller Family/Series:UPD78; Core Size:8bit; No. of I/O's:17; Supply Voltage Min:2V; Supply Voltage Max:5.5V; Digital IC Case Style:SSOP; No. of Pins:20; Program Memory Size:4KB; RAM Memory ;RoHS Compliant: Yes
UPD78F9222MC-5A4-A 功能描述:MCU 8BIT 4KB FLASH 20PIN RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘
UPD78F9224MC-5A4-A 制造商:Renesas Electronics Corporation 功能描述:
UPD78F9232CS-CAA-A 功能描述:MCU 8BIT 4KB FLASH 30PIN RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:78K0S/Kx1+ 标准包装:300 系列:78K0R/Ix3 核心处理器:78K/0R 芯体尺寸:16-位 速度:40MHz 连通性:3 线 SIO,I²C,LIN,UART/USART 外围设备:DMA,LVD,POR,PWM,WDT 输入/输出数:27 程序存储器容量:16KB(16K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 5.5 V 数据转换器:A/D 8x10b 振荡器型:内部 工作温度:-40°C ~ 85°C 封装/外壳:38-SSOP 包装:托盘
UPD78F9232MC(T)-5A4-A 制造商:Renesas Electronics Corporation 功能描述: