Electronic Components Datasheet Search
  English  ▼

X  

HT69F240 Datasheet(PDF) 121 Page - Holtek Semiconductor Inc

Part # HT69F240
Description  I/O 8-Bit Flash MCU with LED/LCD Driver
PDF  172 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT69F240 Datasheet(HTML) 121 Page - Holtek Semiconductor Inc

Back Button HT69F240 Datasheet HTML 117Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 118Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 119Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 120Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 121Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 122Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 123Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 124Page - Holtek Semiconductor Inc HT69F240 Datasheet HTML 125Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 121 / 172 page
background image
Rev. 1.20
120
�a��� 2�� 201�
Rev. 1.20
121
�a��� 2�� 201�
HT69F240
I/O 8-Bit Flash MCU with LED/LCD Driver
HT69F240
I/O 8-Bit Flash MCU with LED/LCD Driver
I2CTOC Register
Bit
7
6
5
4
3
2
1
0
Name
I2CTOEN I2CTOF I2CTOS� I2CTOS4 I2CTOS3 I2CTOS2 I2CTOS1 I2CTOS0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit7
I2CTOEN:I2CinterfaceTime-outcontrol
0:Disable
1:Enable
Bit6
I2CTOF:I2CinterfaceTime-outflag
0:Notime-outoccurred
1:Time-outoccurred
TheI2CTOFflagissetbythetime-outcircuitrywhenthetime-outeventoccursand
clearedbysoftwareprogram.
Bit5~0
I2CDBNC1~I2CDBNC0:I2CinterfaceTime-outperiodselection
I2CinterfaceTime-outperiod=
SUB
f
x
CTOS
I
32
)
1
]
0
:
5
[
2
(
+
TheI2CTime-outcircuitryisdrivenbythe(fSUB/32)clockandthetinme-outperiodis
calculatedusingtheaboveformula.
I2C Bus Communication
CommunicationontheI2Cbusrequiresfourseparatesteps,aSTARTsignal,aslavedeviceaddress
transmission,adatatransmissionandfinallyaSTOPsignal.WhenaSTARTsignalisplacedonthe
I2Cbus,alldevicesonthebuswillreceivethissignalandbenotifiedoftheimminentarrivalofdata
onthebus.ThefirstsevenbitsofthedatawillbetheslaveaddresswiththefirstbitbeingtheMSB.
Iftheaddressoftheslavedevicematchesthatofthetransmittedaddress,theIICHAASbitinthe
IICC1registerwillbesetandanI2Cinterruptwillbegenerated.Afterenteringtheinterruptservice
routine,theslavedevicemustfirstchecktheconditionoftheIICHAASbittodeterminewhetherthe
interruptsourceoriginatesfromanaddressmatchorfromthecompletionofan8-bitdatatransfer.
Duringadatatransfer,notethatafterthe7-bitslaveaddresshasbeentransmitted,thefollowingbit,
whichisthe8thbit,istheread/writebitwhosevaluewillbeplacedintheIICSRWbit.Thisbitwill
becheckedbytheslavedevicetodeterminewhethertogointotransmitorreceivemode.Beforeany
transferofdatatoorfromtheI2Cbus,themicrocontrollermustinitialisethebus.Thefollowingare
stepstoachievethis:
• Step1
ConfigurethecorrespondingI/OpinsastheI2Cinterfacepins,SDAandSCL,usingthepin-
sharedcontrolbitsandsettheIICENbithightoenabletheI2Cinterfacefunction.
• Step2
WritetheslaveaddressofthedevicetotheI2CbusaddressregisterIICA.
• Step3
SetthecorrespondingI2CinterruptenablebitintheinterruptcontrolregistertoenabletheI2C
interrupt.



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