參數資料
型號: HD404878
廠商: Hitachi,Ltd.
英文描述: Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
中文描述: 低電壓如同在微機芯片LCD電路(片上液晶顯示器電路的低壓微計算機)
文件頁數: 86/200頁
文件大小: 633K
代理商: HD404878
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁當前第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁
HD404889/HD404899/HD404878/HD404868 Series
86
Timer B 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 B1 (TMB1).
Timer B is initialized to the value written to timer write register B (TWBL, TWBU) by software, and
counts up by 1 each time the input clock is input. When the input clock is input after the timer B value
reaches $FF, overflow output is generated. Timer B is then set to the value in timer write register B 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 B interrupt request flag (IFTB). 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.
External event counter operation:
When external event input is designated for the input clock, timer B operates as an external event
counter. When external event input is used, the R1
0
/EVNB pin is designated as the EVNB pin by port
mode register 2 (PMR2).
The external event detected edge for timer B can be designated as a falling edge, rising edge, or both
falling and rising edges in the input signal by means of timer mode register B2 (TMB2). If both falling
and rising edges are selected, the input signal falling and rising edge interval should be at least 2tcyc.
Timer B counts up by 1 each time a falling edge is detected in the signal input at the EVNB pin. Other
operations are the same as for the free-running/reload timer function.
Timer output operation:
With timer B, the R13/TOB pin is designated as the TOB pin by the setting of bit 3 of port mode
register 2 (PMR2), and toggle waveform output or PWM waveform output can be selected by timer
mode register B2 (TMB2).
Toggle output:
With toggle output, the output level is changed upon input of the next clock pulse after the timer B
value reaches $FF. Use of this function in combination with the reload timer allows a clock signal
with any period to be output, enabling it to be used as buzzer output. The output waveform is
shown in figure 38 (1).
PWM output:
With PWM output, variable-duty pulses are output. The output waveform is as shown in figure 38
(2), according to the contents of timer mode register B1 (TMB1) and timer write register B (TWBL,
TWBU). When the waveform is output with bit 3 (TMB13) of timer mode register B1 cleared to 0,
the write to timer write register B to change the duty is effective from the next frame, whereas if the
waveform is output with the TMB13 bit set to 1 (reload setting), the next frame is output
immediately after the timer write register write.
Module standby:
With timer B, the supply of the system clock to the timer/counter can be halted by setting bit 0 of
module standby register 1 (MSR1: $00D) to 1. In the module standby state, the mode register value is
retained but the counter value is not guaranteed.
相關PDF資料
PDF描述
HD4048812 Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
HD404888 Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
HD404889 Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
HD4048912 Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
HD404898 Low-Voltage AS Microcomputers with On-Chip LCD Circuit(片上LCD電路的低壓微計算機)
相關代理商/技術參數
參數描述
HD4048812 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD4048812H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD4048812TE 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD404888 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD404888H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Low-Voltage AS Microcomputers with On-Chip LCD Circuit