Electronic Components Datasheet Search
  English  ▼

X  

HT82R732 Datasheet(PDF) 37 Page - Holtek Semiconductor Inc

Part # HT82R732
Description  e-Banking 8-Bit OTP MCU
PDF  74 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT82R732 Datasheet(HTML) 37 Page - Holtek Semiconductor Inc

Back Button HT82R732 Datasheet HTML 33Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 34Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 35Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 36Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 37Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 38Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 39Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 40Page - Holtek Semiconductor Inc HT82R732 Datasheet HTML 41Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 74 page
background image
Timer Control Registers
- TMR0C, TMR1C
The flexible features of the Holtek microcontroller Timer/Event Counters enable them to operate in
three different modes, the options of which are determined by the contents of their respective control
register.
The Timer Control Register is known as TMRnC. It is the Timer Control Register together with its
corresponding Timer Register that controls the full operation of the Timer/Event Counter. Before the
timer can be used, it is essential that the Timer Control Register is fully programmed with the right data
to ensure its correct operation, a process that is normally carried out during program initialisation.
To choose which of the three modes the timer is to operate in, either in the timer mode, the event
counting mode or the pulse width capture mode, bits 7 and 6 of the Timer Control Register, which are
known as the bit pair TnM1/TnM0, must be set to the required logic levels. The timer-on bit, which is
bit 4 of the Timer Control Register and known as TnON, provides the basic on/off control of the
respective timer. Setting the bit high allows the counter to run, clearing the bit stops the counter. Bits
0~2 of the Timer Control Register, TMR0C, determine the division ratio of the input clock prescaler
for Timer 0. Note that there is no prescaler selection in the TMR1C register for Timer 1. The prescaler
bit settings have no effect if an external clock source is used. If the timer is in the event count or pulse
width capture mode, the active transition edge level type is selected by the logic level of bit 3 of the
Timer Control Register which is known as TnEG. The TnS bit selects the internal clock source if used.
TMR0C Register
Bit
76543210
Name
T0M1
T0M0
T0S
T0ON
T0EG
T0PSC2
T0PSC1
T0PSC0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
00001000
Bit 7,6
T0M1, T0M0: Timer0 operation mode selection
00: no mode available
01: event counter mode
10: timer mode
11: pulse width capture mode
Bit 5
T0S: timer clock source
0: f
SYS
1: LXT oscillator
T0S selects the clock source for f
TP which is provided for Timer 0 and the Time-Base.
Bit 4
T0ON: Timer/event counter counting enable
0: disable
1: enable
Bit 3
T0EG:
Event counter active edge selection
0: count on raising edge
1: count on falling edge
Pulse Width Capture active edge selection
0: start counting on falling edge, stop on rasing edge
1: start counting on raising edge, stop on falling edge
Bit 2~0
T0PSC2, T0PSC1, T0PSC0: Timer prescaler rate selection
Timer internal clock=
000: f
TP
001: f
TP/2
010: f
TP/4
011: f
TP/8
100: f
TP/16
101: f
TP/32
110: f
TP/64
111: f
TP/128
HT82R732
e-Banking 8-Bit OTP MCU
Rev. 1.00
37
October 31, 2013



Html Pages

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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com