Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 58 Page - Holtek Semiconductor Inc |
|
HT82B42R Datasheet(HTML) 58 Page - Holtek Semiconductor Inc |
58 / 84 page Rev. 1.10 �8 �ove��e� 0�� �01� Rev. 1.10 �9 �ove��e� 0�� �01� HT82B42R/HT82B42RE I/O MCU with USB Interface TheSPIfunctioninthisdeviceoffersthefollowingfeatures: • Fullduplexsynchronousdatatransfer • BothMasterandSlavemodes • LSBfirstorMSBfirstdatatransmissionmodes • Transmissioncompleteflag • Risingorfallingactiveclockedge ThestatusoftheSPIinterfacepinsisdeterminedbyanumberoffactorssuchaswhetherthedevice isinthemasterorslavemodeandupontheconditionofcertaincontrolbitssuchasSPI_CSENand SPI_EN. SPI Registers TherearethreeinternalregisterswhichcontroltheoveralloperationoftheSPIinterface.Theseare theSBDRdataregisterandtworegistersSPIRandSBCR. Register Name Bit 7 6 5 4 3 2 1 0 SPIR ― ― ― ― SPI_E� SPI_CSE� SPI_MODE SPI_CPOL SBCR CKS M1 M0 SBE� MLS CSE� WCOL TRF SBDR D7 D6 D� D� D3 D� D1 D0 TheSBDRregisterisusedtostorethedatabeingtransmittedandreceived.Beforethedevicewrites datatotheSPIbus,theactualdatatobetransmittedmustbeplacedintheSBDRregister.Afterthe dataisreceivedfromtheSPIbus,thedevicecanreaditfromtheSBDRregister.Anytransmission orreceptionofdatafromtheSPIbusmustbemadeviatheSBDRregister. SBDR 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 RW POR X X X X X X X X Bit7~0 D7~D0:SPIdatabits NotethatdatawrittentotheSBDRregisterwillonlybewrittentotheTXRXbuffer,whereasdata readfromtheSBDRregisterwillactualbereadfromtheregister. TherearealsotwocontrolregistersfortheSPIinterface,SPIRandSBCR.RegisterSPIRisusedto controltheenable/disablefunctionandtosettheSPIclockactiveedgetype.RegisterSBCRisused forothercontrolfunctionssuchasLSB/MSBselection,writecollisionflag,datatransmissionclock frequencyselectionetc.. |
Similar Part No. - HT82B42R_14 |
|
Similar Description - HT82B42R_14 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |