| Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 60 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42R Datasheet(HTML) 60 Page - Holtek Semiconductor Inc |
|
60 / 86 page ![]() Rev. 1.00 60 October 27, 2011 Rev. 1.00 61 October 27, 2011 HT82B42R/HT82B42RE I/O MCU with USB Interface SBCR Register Bit 7 6 5 4 3 2 1 0 Name CKS M1 M0 SBEN MLS CSEN WCOL TRF R/W R/W R/W R/W R/W R/W R/W R/W RW POR 0 1 1 0 0 0 0 0 Bit7 CKS:SPIclockfSPIsourceselection 0:fSPI=fSYS/2 1:fSPI=fSYS Bit6~5 M1~M0:SPIOperatingModeandbaudratecontrolbits 00:SPImastermode;SPIclockisfSPI 01:SPImastermode;SPIclockisfSPI/4 10:SPImastermode;SPIclockisfSPI/16 11:SPIslavemode Thisbitcanbereadorwrittenbyusersoftwareprogram. Bit4 SBEN:SPIserialbusenablecontrol 0:disable 1:enable Thebitistheoverallon/offcontrolfortheSPIserialbus.WhentheSBENbitis clearedtozerotodisabletheSPIinterface,theSDI,SDO,SCKandSCSlineswill beinafloatingconditionandtheSPIoperatingcurrentwillbereducedtoaminimum value.Whenthebitishigh,theSPIinterfaceisenabled. Bit3 MLS:SPIDatashiftorder 0:LSBshiftfirst 1:MSBshiftfirst Thisisthedatashiftselectbitandisusedtoselecthowthedataistransferred,either MSBorLSBfirst.SettingthebithighwillselectMSBfirstandlowforLSBfirst. Bit2 CSEN:SPISCSpincontrol 0:disable,otherfunctions 1:enable TheCSENbitisusedasanenable/disablefortheSCSpin.Ifthisbitislow,thenthe SCSpinwillbedisabledandplacedintoafloatingcondition.IfthebitishightheSCS pinwillbeenabledandusedasaselectpin. NotethatusingtheCSENbitcanbedisabledorenabledbytheCSENcontrolbit namedSPI_CSENintheSPIRregister. Bit1 WCOL:SPIWriteCollisionflag 0:collisionfree 1:collisiondetected TheWCOLflagisusedtodetectifadatacollisionhasoccurred.Ifthisbitishighit meansthatdatahasbeenattemptedtobewrittentotheSBDRregisterduringadata transferoperation.Thiswritingoperationwillbeignoredifdataisbeingtransferred. Thebitcanbeclearedbytheapplicationprogram. Bit0 TRF:SPITransmit/ReceiveCompleteflag 0:notcomplete 1:transmission/receptioncomplete TheTRFbitistheTransmit/ReceiveCompleteflagandissetto1automaticallywhen anSPIdatatransmissioniscompleted,butmustbesetto0bytheapplicationprogram. 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 |