| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 170 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 170 Page - Holtek Semiconductor Inc |
|
170 / 231 page ![]() Rev. 1.60 170 �ove��e� ��� �01� Rev. 1.60 171 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU • SPI1D 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 0 0 0 0 0 0 0 0 SPI1 Communication AftertheSPI1interfaceisenabledbysettingtheSPI1ENbithigh,thenintheMasterMode,when dataiswrittentotheSPI1Dregister,transmission/receptionwillbeginsimultaneously.Whenthedata transferiscomplete,theS1TRFflagwillbesetautomatically,butmustbeclearedusingtheapplication program.IntheSlaveMode,whentheclocksignalfromthemasterhasbeenreceived,anydatainthe SPI1DregisterwillbetransmittedandanydataontheSDI1pinwillbeshiftedintotheSPI1Dregister. ThemastershouldoutputaSCS1Bnsignaltoenabletheslavedevicebeforeaclocksignalis provided.Theslavedatatobetransferredshouldbewellpreparedattheappropriatemoment relativetotheSCS1BnsignaldependingupontheconfigurationsoftheS1CKPOLbitandS1CKEG bit.TheaccompanyingtimingdiagramshowstherelationshipbetweentheslavedataandSCSsignal forvariousconfigurationsoftheS1CKPOLandS1CKEGbits. TheSPI1willcontinuetofunctionevenintheIDLEMode. Peripheral Clock Output ThePeripheralClockOutputallowsthedevicetosupplyexternalhardwarewithaclocksignal synchronisedtothemicrocontrollerclock. Peripheral Clock Operation Astheperipheralclockoutputpin,PCK,issharedwithI/Oline,therequiredpinfunctionischosen viaPCKENintheSIMC0register.ThePeripheralClockfunctioniscontrolledusingtheSIMC0 register.TheclocksourceforthePeripheralClockOutputcanoriginatefromeithertheTM0CCRP matchfrequency/2oradividedratiooftheinternalfSYSclock.ThePCKENbitintheSIMC0register istheoverallon/offcontrol,settingPCKENbitto"1"enablesthePeripheralClock,andsetting PCKENbitto"0"disablesit.Therequireddivisionratioofthesystemclockisselectedusingthe PCKP1andPCKP0bitsinthesameregister.IfthedeviceenterstheSLEEPMode,thiswilldisable thePeripheralClockoutput. SIMC0 Register Bit 7 6 5 4 3 2 1 0 �a�e SIM� SIM1 SIM0 PCKE� PCKP1 PCKP0 SIME� — R/W R/W R/W R/W R/W R/W R/W R/W — POR 1 1 1 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. |
|
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 |