| Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 51 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42R Datasheet(HTML) 51 Page - Holtek Semiconductor Inc |
|
51 / 86 page ![]() Rev. 1.00 50 October 27, 2011 Rev. 1.00 51 October 27, 2011 HT82B42R/HT82B42RE I/O MCU with USB Interface ThereisasystemclockcontrolregisterimplementtoselecttheclockusedintheMCU.Thisregister consistersoftheUSBclocksontrolbit,USBCKEN,secondsuspendmodecontrolbit,SUSP2,and asystemcolckselectionbit,SYSCLK.ThePS2modeindicatebit,PS2_flag,andasystemclock adjustcontrolbit,CLK_adj. SCC Register Bit 7 6 5 4 3 2 1 0 Name CLK_adj SYSCLK PS2_flag SUSP2 USBCKEN ― ― ― R/W R/W R/W R/W R/W R/W ― ― ― POR 0 0 0 0 0 ― ― ― Bit7 CLK_adj:USBmodesystemclockadjustment 0:enable(default) 1:disable ThisbitisusedtoadjustthesystemclockfortheUSBmodefortemperaturechanges. InthePower-downModethisbitshouldbesethightoreducepowerconsumption. Bit6 SYSCLK:SpecifyMCUoscillatorfrequencyindicationbit 0:12MHzcrystaloscillatororresonator,clearthisbitto“0” 1:6MHzcrystaloscillatororresonator,setthisbitto“1” ThisbitisusedtospecifythesystemoscillatorfrequencyusedbytheMCU.Ifan Integrated6MHzoscillatorisused,thisbitshouldbesetto“1”.IfanIntegrated 12MHzoscillatorisused,thisbitshouldbeclearedto“0”(default). Bit5 PS2_flag:PS2modeindicationbit 0:notPS2mode 1:PS2mode ThisflagisusedtoindicatethattheMCUisinthePS2mode.(Bit=1) ThisbitisR/WbyFWandwillbeclearedto“0”afterpower-onreset.(Default="0") Bit4 SUSP2:Reducepowerconsumptioninsuspendmodecontrolbit 0:innormalmode 1:inhaltmode,setthisbitto“1”forreducingpowerconsumption Bit3 USBCKEN:USBclockcontrolbit 0:disable 1:enable Bit2~0 Unimplemented STALL and PIPE, PIPE_CTRL, Endpt_EN Registers ThePIPEregisterrepresentswhetherthecorrespondingendpointisaccessedbythehostornot. AfteranACT_ENsignalhasbeensentout,theMCUcancheckwhichendpointhadbeenaccessed. Thisregisterissetonlyaftertheatimewhenthehostisaccessingthecorrespondingendpoint. TheSTALLregistershowswhetherthecorrespondingendpointworksornot.Assoonasthe endpointworksimproperly,thecorrespondingbitmustbeset. ThePIPE_CTRLRegisterisusedforconfiguringtheIN(Bit=1)orOUT(Bit=0)Pipe.Thedefault isdefineINpipe.Bit0(DATA0)ofthePIPE_CTRLRegisterisusedtosetthedatatoggleofany endpoint(exceptendpoint0)usingdatatogglestothevalueDATA0.Oncetheuserwantsany endpoint(exceptendpoint0)usingdatatogglestothevalueDATA0.theusercanoutputaLOW pulsetothisbit.TheLOWpulseperiodmustatleast10instructioncycles. TheEndpt_ENRegisterisusedtoenableordisablethecorrespondingendpoint(exceptendpoint0) EnableEndpoint(Bit=1)ordisableEndpoint(Bit=0) |
|
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 |