| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 161 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 161 Page - Holtek Semiconductor Inc |
|
161 / 231 page ![]() Rev. 1.60 160 �ove��e� ��� �01� Rev. 1.60 161 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU I2C Registers TherearethreecontrolregistersassociatedwiththeI2Cbus,SIMC0,SIMC1andSIMAandone dataregister,SIMD.TheSIMDregister,whichisshownintheaboveSPIsection,isusedtostore thedatabeingtransmittedandreceivedontheI2Cbus.Beforethemicrocontrollerwritesdatato theI2Cbus,theactualdatatobetransmittedmustbeplacedintheSIMDregister.Afterthedatais receivedfromtheI2Cbus,themicrocontrollercanreaditfromtheSIMDregister.Anytransmission orreceptionofdatafromtheI2CbusmustbemadeviatheSIMDregister. NotethattheSIMAregisteralsohasthenameSIMC2whichisusedbytheSPIfunction.BitSIMEN andbitsSIM2~SIM0inregisterSIMC0areusedbytheI2Cinterface. Register Name Bit 7 6 5 4 3 2 1 0 SIMC0 SIM� SIM1 SIM0 PCKE� PCKP1 PCKP0 SIME� D0 SIMC1 HCF HAAS HBB HTX TXAK SRW IAMWU RXAK SIMD D7 D6 D� D� D3 D� D1 D0 SIMCA IICA6 IICA� IICA� IICA3 IICA� IICA1 IICA0 D0 I2C Registers List • SIMC0 Register Bit 7 6 5 4 3 2 1 0 �a�e SIM� SIM1 SIM0 PCKE� PCKP1 PCKP0 SIME� D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 1 1 1 0 0 0 0 0 Bit7~5 SIM2~SIM0:SIMOperatingModeControl 000:SPImastermode;SPIclockisfSYS/4 001:SPImastermode;SPIclockisfSYS/16 010:SPImastermode;SPIclockisfSYS/64 011:SPImastermode;SPIclockisfSUB 100:SPImastermode;SPIclockisTM0CCRPmatchfrequency/2 101:SPIslavemode 110:I2Cslavemode 111:Unusedmode ThesebitssetuptheoveralloperatingmodeoftheSIMfunction.Aswellasselecting iftheI2CorSPIfunction,theyareusedtocontroltheSPIMaster/Slaveselectionand theSPIMasterclockfrequency.TheSPIclockisafunctionofthesystemclockbut canalsobechosentobesourcedfromtheTM0.IftheSPISlaveModeisselectedthen theclockwillbesuppliedbyanexternalMasterdevice. Bit4 PCKEN:PCKOutputPinControl 0:Disable 1:Enable Bit3~2 PCKP1~PCKP0:SelectPCKoutputpinfrequency 00:fSYS 01:fSYS/4 10:fSYS/8 11:TM0CCRPmatchfrequency/2 Bit1 SIMEN:SIMControl 0:Disable 1:Enable Thebitistheoverallon/offcontrolfortheSIMinterface.WhentheSIMENbitis clearedtozerotodisabletheSIMinterface,theSDI,SDO,SCKandSCS,orSDA andSCLlineswillbeinafloatingconditionandtheSIMoperatingcurrentwillbe |
|
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 |
| 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 |