| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 156 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 156 Page - Holtek Semiconductor Inc |
|
156 / 231 page ![]() Rev. 1.60 1�6 �ove��e� ��� �01� Rev. 1.60 1�7 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU • SIMD Register Bit 7 6 5 4 3 2 1 0 �a�e D7 D6 D� D� D3 D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR x x x x x x x x "x" unknown TherearealsotwocontrolregistersfortheSPIinterface,SIMC0andSIMC2.NotethattheSIMC2 registeralsohasthenameSIMAwhichisusedbytheI2Cfunction.TheSIMC1registerisnotused bytheSPIfunction,onlybytheI2Cfunction.RegisterSIMC0isusedtocontroltheenable/disable functionandtosetthedatatransmissionclockfrequency.AlthoughnotconnectedwiththeSPI function,theSIMC0registerisalsousedtocontrolthePeripheralClockPrescaler.RegisterSIMC2 isusedforothercontrolfunctionssuchasLSB/MSBselection,writecollisionflagetc. • SIMC0 Register Bit 7 6 5 4 3 2 1 0 �a�e SIM� SIM1 SIM0 PCKE� PCKP1 PCKP0 SIME� SIMCF 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 reducedtoaminimumvalue.WhenthebitishightheSIMinterfaceisenabled.The SIMconfigurationoptionmusthavefirstenabledtheSIMinterfaceforthisbittobe effective.IftheSIMisconfiguredtooperateasanSPIinterfaceviatheSIM2~SIM0 bits,thecontentsoftheSPIcontrolregisterswillremainattheprevioussettingswhen theSIMENbitchangesfromlowtohighandshouldthereforebefirstinitialisedby theapplicationprogram.IftheSIMisconfiguredtooperateasanI2Cinterfaceviathe SIM2~SIM0bitsandtheSIMENbitchangesfromlowtohigh,thecontentsoftheI2C controlbitssuchasHTXandTXAKwillremainattheprevioussettingsandshould thereforebefirstinitialisedbytheapplicationprogramwhiletherelevantI2Cflags suchasHCF,HAAS,HBB,SRWandRXAKwillbesettotheirdefaultstates. |
|
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 |