| Electronic Components Datasheet Search |
|
HT45F3230 Datasheet(PDF) 65 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3230 Datasheet(HTML) 65 Page - Holtek Semiconductor Inc |
|
65 / 148 page ![]() Rev. 1.00 64 January 13, 2017 Rev. 1.00 65 January 13, 2017 HT45F3230 IR Sensing/Motor Driving Flash MCU HT45F3230 IR Sensing/Motor Driving Flash MCU CTMAL Register Bit 7 6 5 4 3 2 1 0 Name D7 D6 D5 D4 D3 D2 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 Bit7~0 D7~D0:CTMCCRALowByteRegisterbit7~bit0 CTM10-bitCCRAbit7~bit0 CTMAH Register Bit 7 6 5 4 3 2 1 0 Name — — — — — — D9 D8 R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas“0” Bit1~0 D9~D8:CTMCCRAHighByteRegisterbit1~bit0 CTM10-bitCCRAbit9~bit8 Compact Type TM Operating Modes TheCompactTypeTMcanoperateinoneofthreeoperatingmodes,CompareMatchOutputMode, PWMOutputModeorTimer/CounterMode.TheoperatingmodeisselectedusingtheCTM1and CTM0bitsintheCTMC1register. Compare Match Output Mode Toselectthismode,bitsCTM1andCTM0intheCTMC1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP. WhentheCTCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallowsthe countertooverflow.HerebothCTMAFandCTMPFinterruptrequestflagsforComparatorAand ComparatorPrespectively,willbothbegenerated. IftheCTCCLRbitintheCTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheCTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen CTCCLRishighnoCTMPFinterruptrequestflagwillbegenerated.IftheCCRAbitsareallzero, thecounterwilloverflowwhenitsreachesitsmaximum10-bit,3FFHex,value,howeverherethe CTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theCTMoutputpinwillchange state.TheCTMoutputpinconditionhoweveronlychangesstatewhenaCTMAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.TheCTMPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheCTM outputpin.ThewayinwhichtheCTMoutputpinchangesstatearedeterminedbytheconditionof theCTIO1andCTIO0bitsintheCTMC1register.TheCTMoutputpincanbeselectedusingthe CTIO1andCTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionoftheCTMoutputpin,whichissetupafter theCTONbitchangesfromlowtohigh,issetupusingtheCTOCbit.NotethatiftheCTIO1and CTIO0bitsarezerothennopinchangewilltakeplace. |
|
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 |