| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F23A bảng dữ liệu(PDF) 85 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F23A bảng dữ liệu(HTML) 85 Page - Holtek Semiconductor Inc |
|
85 / 148 page ![]() Rev. 1.00 84 ���� 0�� �01� Rev. 1.00 85 ���� 0�� �01� HT45F23A 8-Bit Flash MCU with Op Amps & Comparators HT45F23A 8-Bit Flash MCU with Op Amps & Comparators TherearealsotwocontrolregistersfortheSPIinterface,SIMC0andSIMC2.NotethattheSIMC2 registeralsohasthenameSIMAwhichisusedbytheI2Cfunction.TheSIMC1registerisnotused bytheSPIfunction,onlybytheI2Cfunction.RegisterSIMC0isusedtocontroltheenable/disable functionandtosetthedatatransmissionclockfrequency.AlthoughnotconnectedwiththeSPI function,theSIMC0registerisalsousedtocontrolthePeripheralClockPrescaler.RegisterSIMC2 isusedforothercontrolfunctionssuchasLSB/MSBselection,writecollisionflagetc. SIMC0 Register Bit 7 6 5 4 3 2 1 0 Name SIM� SIM1 SIM0 PCKEN PCKP1 PCKP0 SIMEN — R/W R/W R/W R/W R/W R/W R/W R/W — POR 1 1 1 0 0 0 0 — Bit7~5 SIM2, SIM1, SIM0 :SIMOperatingModeControl 000:SPImastermode;SPIclockisf SYS /4 001:SPImastermode;SPIclockisf SYS /16 010:SPImastermode;SPIclockisf SYS /64 011:SPImastermode;SPIclockisf SUB 100:SPImastermode;SPIclockisTimer0output/2(PFD0) 101:SPIslavemode 110:I2Cslavemode 111:Unusedmode ThesebitssetuptheoveralloperatingmodeoftheSIMfunction.Aswellasselecting iftheI2CorSPIfunction,theyareusedtocontroltheSPIMaster/Slaveselectionand theSPIMasterclockfrequency.TheSPIclockisafunctionofthesystemclockbut canalsobechosentobesourcedfromtheTimer0.IftheSPISlaveModeisselected thentheclockwillbesuppliedbyanexternalMasterdevice. Bit4 PCKEN :PCKOutputPinControl 0:Disable 1:Enable Bit3~2 PCKP1, PCKP0 :SelectPCKoutputpinfrequency 00:f SYS 01:f SYS /4 10:f SYS /8 11:Timer0output/2(PFD0) Bit1 SIMEN :SIMControl 0:Disable 1:Enable Thebitistheoverallon/offcontrolfortheSIMinterface.WhentheSIMENbitis clearedtozerotodisabletheSIMinterface,theSDI,SDO,SCKandSCS,orSDA andSCLlineswillbeinafloatingconditionandtheSIMoperatingcurrentwillbe reducedtoaminimumvalue.WhenthebitishightheSIMinterfaceisenabled.The SIMconfigurationoptionmusthavefirstenabledtheSIMinterfaceforthisbittobe effective.IftheSIMisconfiguredtooperateasanSPIinterfaceviatheSIM2~SIM0 bits,thecontentsoftheSPIcontrolregisterswillremainattheprevioussettingswhen theSIMENbitchangesfromlowtohighandshouldthereforebefirstinitialisedby theapplicationprogram.IftheSIMisconfiguredtooperateasanI2Cinterfaceviathe SIM2~SIM0bitsandtheSIMENbitchangesfromlowtohigh,thecontentsoftheI2C controlbitssuchasHTXandTXAKwillremainattheprevioussettingsandshould thereforebefirstinitialisedbytheapplicationprogramwhiletherelevantI2Cflags suchasHCF,HAAS,HBB,SRWandRXAKwillbesettotheirdefaultstates. Bit0 unimplemented,readas"0" |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |