參數(shù)資料
型號: HD407C4389
廠商: Hitachi,Ltd.
英文描述: Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
中文描述: 低電壓如同在微機芯片的A / D轉(zhuǎn)換器(帶片上的A / D轉(zhuǎn)換器的低壓微計算機)
文件頁數(shù): 85/162頁
文件大?。?/td> 482K
代理商: HD407C4389
HD404374/HD404384/HD404389/HD404082/HD404084 Series
85
Timer C Operation
Free-running/reload timer:
Free-running/reload timer operation, the input clock source, and the prescaler division ratio are selected
by means of timer mode register C1 (TMC1).
Timer C is initialized to the value written to timer write register C (TWCL, TWCU) by software, and
counts up by 1 each time the input clock is input. When the input clock is input after the timer C value
reaches $FF, overflow output is generated. Timer C is then set to the value in timer write register C
(TWCL, TWCU) if the reload timer function is selected, or to $00 if the free-running timer function is
selected, and starts counting up again.
Overflow output sets the timer C interrupt request flag (IFTC). This flag is reset by the program or by
an MCU reset.
For details, see figure 3, Interrupt Control Bit and Register Flag Area Configuration, and table 1, Initial
Values after MCU Reset.
16-bit timer operation:
When timer B overflow flag is selected as the clock source, timer C can be used as a 16-bit timer that
counts the timer B clock source pulses. In this case, since the timer B and timer C free-running/reload
settings are independent, the settings should be made to suit the purpose.
Watchdog timer operation:
By using the timer C overflow output, timer C can be used as a watchdog timer for detecting program
runaway. The watchdog timer is enabled when the watchdog on flag (WDON) is set to 1, and generates
an MCU reset when timer C overflows. Usually, timer C initialization is performed by the program
before the timer C value reaches $FF, so controlling program runaway.
Timer output operation:
With timer C, the R2
0
/TOC pin is designated as the TOC pin by setting bit 0 of port mode register 3
(PMR3) to 1, and toggle waveform output or PWM waveform output can be selected by timer mode
register C2 (TMC2).
Toggle output
The operation is similar to that for timer B toggle output.
PWM output
The operation is similar to that for timer B PWM output.
Module standby:
The operation is similar to that for timer B module standby.
相關(guān)PDF資料
PDF描述
HD40A4082 Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
HD40C4082 Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
HD40A4084 Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
HD40C4084 Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
HD40C4384 Low-Voltage AS Microcomputers with On-Chip A/D Converter(帶片上A/D轉(zhuǎn)換器的低壓微計算機)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD407C4389FT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD407L4019 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:CMOS 4-bit single-chip microcomputers
HD407L4019H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:CMOS 4-bit single-chip microcomputers
HD407L4019S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD407L4808 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-BIT SINGLE CHIP MICROCOMPUTER UNIT