Electronic Components Datasheet Search
  English  ▼

X  

HT56RB27 Datasheet(PDF) 82 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) 82 Page - Holtek Semiconductor Inc

Back Button HT56RB27 Datasheet HTML 78Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 79Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 80Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 81Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 82Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 83Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 84Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 85Page - Holtek Semiconductor Inc HT56RB27 Datasheet HTML 86Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 153 page
background image
External Interrupt
For an external interrupt to occur, the global interrupt enable bit, EMI, and external interrupt enable
bits, EEI0 and EEI1, must first be set. Additionally the correct interrupt edge type must be selected
using the MISC0 register to enable the external interrupt function and to choose the trigger edge type.
An actual external interrupt will take place when the external interrupt request flag, EIF0 or EIF1, is
set, a situation that will occur when a transition, whose type is chosen by the edge select bit, appears on
the INT0 or INT1 pin. The external interrupt pins are pin-shared with the I/O pins PA0 and PA1 and
can only be configured as external interrupt pins if their corresponding external interrupt enable bit in
the INTC0 or INTC1 register has been set. The pin must also be setup as an input by setting the
corresponding PAC.0 and PAC.1 bits in the port control register. When the interrupt is enabled, the
stack is not full and the correct transition type appears on the external interrupt pin, a subroutine call to
the external interrupt vector at location 0CH or 10H, will take place. When the interrupt is serviced, the
external interrupt request flags, EIF0 or EIF1, will be automatically reset and the EMI bit will be
automatically cleared to disable other interrupts. Note that any pull-high resistor selections on this pin
will remain valid even if the pin is used as an external interrupt input.
The MISC0 register is used to select the type of active edge that will trigger the external interrupt. A
choice of either rising, falling or both rising and falling edge types can be chosen to trigger an external
interrupt. Note that the MISC0 register can also be used to disable the external interrupt function.
The external interrupt pins are connected to an internal filter to reduce the possibility of unwanted external
interrupts due to adverse noise or spikes on the external interrupt input signal. As this internal filter circuit
will consume a limited amount of power, the software control bits named INT0FLT and INT1FLT
respectively in the RCFLT register are provided to switch off the filter function, an option which may be
beneficial in power sensitive applications, but in which the integrity of the input signal is high.
MISC0 Register
Bit
76543210
Name
CRDCKS1 CRDCKS0
SMF
SMCEN
INT1S1
INT1S0
INT0S1
INT0S0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
00000000
Bit 7~6
CRDCKS1~CRDCKS0: Smart Card interface clock source divided ratio selection
Described in the table below
Bit 5
SMF: Smart Card clock output CCLK frequency fCCLK selection
Described in the table below
Bit 4
SMCEN: Smart Card interface clock control
0: fCRD is disabled
1: fCRD is enabled
This bit is used to control the Smart Card interface clock source. If this bit is cleared to disable
the clock, the relevant registers in the Smart Card interface module can not be accessed but will
keep the original contents. When the Smart Card interface clock is disabled, it has no effect on
the Card insertion or removal detections.
Rev. 1.20
82
April 26, 2013
HT56RB27
TinyPowerTM A/D Type Smart Card OTP MCU
with DAC, ISO 7816 and USB Interfaces
F i l t e r O n / O f f
C o n t r o l I N T n F L T
I N T 1
F i l t e r
I N T 0
F i l t e r
E x t e r n a l I N T . 0
E x t e r n a l I N T . 1
M C U



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