| Electronic Components Datasheet Search |
|
HT45F3W Datasheet(PDF) 116 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3W Datasheet(HTML) 116 Page - Holtek Semiconductor Inc |
|
116 / 167 page ![]() Rev. 1.50 11� De�e��e� 01� �01� Rev. 1.50 117 De�e��e� 01� �01� HT45F3W R-Type Blood Pressure Meter Flash MCU HT45F3W R-Type Blood Pressure Meter Flash MCU SPI0C1 Register Bit 7 6 5 4 3 2 1 0 Na�e — — CKPOLB0 CKEG0 MLS0 CSEN0 WCOL0 TRF0 R/W — — R/W R/W R/W R/W R/W R/W POR — — 0 0 0 0 0 0 Bit7~6 Unimplemented,readas“0” Bit5 CKPOLB0:DeterminesthebaseconditionoftheSPI0clockline 0:theS0CKlinewillbehighwhentheclockisinactive 1:theS0CKlinewillbelowwhentheclockisinactive TheCKPOLB0bitdeterminesthebaseconditionoftheclockline,ifthebitishigh thentheS0CKlinewillbelowwhentheclockisinactive.WhentheCKPOLB0bitis lowthentheS0CKlinewillbehighwhentheclockisinactive. Bit4 CKEG0:DeterminesSPI0S0CKactiveclockedgetype CKPOLB0=0 0:S0CKishighbaselevelanddatacaptureatS0CKrisingedge 1:S0CKishighbaselevelanddatacaptureatS0CKfallingedge CKPOLB0=1 0:S0CKislowbaselevelanddatacaptureatS0CKfallingedge 1:S0CKislowbaselevelanddatacaptureatS0CKrisingedge TheCKEG0andCKPOLB0bitsareusedtosetupthewaythattheclocksignal outputsandinputsdataontheSPI0bus.Thesetwobitsmustbeconfiguredbefore datatransferisexecutedotherwiseanerroneousclockedgemaybegenerated.The CKPOLB0bitdeterminesthebaseconditionoftheclockline,ifthebitishighthen theS0CKlinewillbelowwhentheclockisinactive. WhentheCKPOLB0bitislowthentheS0CKlinewillbehighwhentheclockis inactive.TheCKEG0bitdeterminesactiveclockedgetypewhichdependsuponthe conditionofCKPOLB0. Bit3 MLS0:SPI0Datashiftorder 0:LSBfirst 1:MSBfirst Thisisthedatashiftselectbitandisusedtoselecthowthedataistransferred,either MSBorLSBfirst.SettingthebithighwillselectMSBfirstandlowforLSBfirst. Bit2 CSEN0:SPI0S0CSpinControl 0:Disable 1:Enable TheCSEN0bitisusedasanenable/disablefortheS0CSpin.Ifthisbitislowthen theS0CSpinwillbedisabledandplacedintoafloatingcondition.Ifthebitishighthe S0CSpinwillbeenabledandusedasaselectpin.NotethatusingtheCSEN0bitcan bedisabledorenabledviaconfigurationoption. Bit1 WCOL0:SPI0WriteCollisionflag 0:Nocollision 1:Collision TheWCOL0flagisusedtodetectifadatacollisionhasoccurred.Ifthisbitishighit meansthatdatahasbeenattemptedtobewrittentotheSPI0Dregisterduringadata transferoperation.Thiswritingoperationwillbeignoredifdataisbeingtransferred. Thebitcanbeclearedbytheapplicationprogram.NotethatusingtheWCOL0bitcan bedisabledorenabledviaconfigurationoption. Bit0 TRF0:SPI0Transmit/ReceiveCompleteflag 0:Dataisbeingtransferred 1:SPI0datatransmissioniscompleted TheTRF0bitistheTransmit/ReceiveCompleteflagandisset“1”automatically whenanSPI0datatransmissioniscompleted,butmustsetto“0”bytheapplication program.Itcanbeusedtogenerateaninterrupt. |
|
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 |