Electronic Components Datasheet Search
  English  ▼

X  

HT56RB27 Datasheet(PDF) 41 Page - Holtek Semiconductor Inc

Part # HT56RB27
Description  TinyPowerTM A/D Type Smart Card OTP MCU with DAC, ISO 7816 and USB Interfaces
PDF  153 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT56RB27 Datasheet(HTML) 41 Page - Holtek Semiconductor Inc

Back Button HT56RB27 Datasheet HTML 37Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 38Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 39Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 40Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 41Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 42Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 43Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 44Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 45Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 153 page
background image
Timer Registers
- TMR0, TMR1L/TMR1H, TMR2, TMR3
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 measurement mode, bits 7 and 6 of the corresponding 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, depending upon which
timer is used, 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. For timers that have prescalers, bits 0~2 of the Timer
Control Register determine the division ratio of the input clock prescaler. 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
measurement 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 TnE. An additional TnS bit in the 16-bit Timer/Event
Counter control register is used to determine the clock source for the Timer/Event Counter.
Configuring the Timer Mode
In this mode, the Timer/Event Counter can be utilised to measure fixed time intervals, providing an
internal interrupt signal each time the Timer/Event Counter overflows. To operate in this mode, the
Operating Mode Select bit pair, TnM1/TnM0, in the Timer Control Register must be set to the correct
value as shown.
Control Register Operating Mode
Select Bits for the Timer Mode
Bit7
Bit6
10
In this mode the internal clock, fSYS , is used as the internal clock for 8-bit Timer/Event Counters and
fSUB or fSYS/4 is used as the internal clock for 16-bit Timer/Event Counter. However, the clock source,
fSYS, for the 8-bit timer is further divided by a prescaler, the value of which is determined by the
Prescaler Rate Select bits TnPSC2~TnPSC0, which are bits 2~0 in the Timer Control Register. After
the other bits in the Timer Control Register have been setup, the enable bit TnON or TnON, which is
bit 4 of the Timer Control Register, can be set high to enable the Timer/Event Counter to run. Each
time an internal clock cycle occurs, the Timer/Event Counter increments by one. When it is full and
overflows, an interrupt signal is generated and the Timer/Event Counter will reload the value already
loaded into the preload register and continue counting. The interrupt can be disabled by ensuring that
the Timer/Event Counter Interrupt Enable bit in the corresponding Interrupt Control Register, is reset
to zero.
HT56RB27
TinyPowerTM A/D Type Smart Card OTP MCU
with DAC, ISO 7816 and USB Interfaces
Rev. 1.20
41
April 26, 2013
I n c r e m e n t
T i m e r C o u n t e r
P r e s c a l e r O u t p u t
T i m e r + 1
T i m e r + 2
T i m e r + N
T i m e r + N + 1
Timer Mode Timing Chart



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 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  ...More


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