ATTINY48中文资料

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Features•HighPerformance,LowPowerAVR®8-BitMicrocontroller�AdvancedRISCArchitecture–123PowerfulInstructions–MostSingleClockCycleExecution–32x8GeneralPurposeWorkingRegisters–FullyStaticOperation�HighEnduranceNon-volatileMemorySegments–4K/8KBytesofIn-SystemSelf-ProgrammableFlashprogrammemory(ATtiny48/88)–64/64BytesEEPROM(ATtiny48/88)–256/512BytesInternalSRAM(ATtiny48/88)–Write/EraseCycles:10,000Flash/100,000EEPROM–Dataretention:20yearsat85°C/100yearsat25°C–OptionalBootCodeSectionwithIndepententLockBits�In-SystemProgrammingbyOn-chipBootProgram�TrueRead-While-WriteOperation–ProgrammingLockforSoftwareSecurity�PeripheralFeatures–One8-bitTimer/CounterwithSeparatePrescalerandCompareMode–One16-bitTimer/CounterwithPrescaler,andCompareandCaptureModes–8-channel10-bitADCin32-leadTQFPand32-padQFN/MLFpackage–6-channel10-bitADCin28-pinPDIPand28-padQFN/MLFpackage–Master/SlaveSPISerialInterface–Byte-oriented2-wireSerialInterface(PhilipsI2CCompatible)–ProgrammableWatchdogTimerwithSeparateOn-chipOscillator–On-chipAnalogComparator–InterruptandWake-uponPinChange�SpecialMicrocontrollerFeatures–debugWIREOn-chipDebugSystem–In-SystemProgrammableviaSPIPort–Power-onResetandProgrammableBrown-outDetection–InternalCalibratedOscillator–ExternalandInternalInterruptSources–ThreeSleepModes:Idle,ADCNoiseReductionandPower-down�I/OandPackages–28ProgrammableI/OLinesin32-leadTQFPand32-padQFN/MLFpackage–24ProgrammableI/OLinesin28-pinPDIPand28-padQFN/MLFpackage–28-pinPDIP,32-leadTQFP,28-padQFN/MLFand32-padQFN/MLF�OperatingVoltage:–1.8–5.5V�TemperatureRange:–-40°Cto+85°C�SpeedGrade:–0–2MHz@1.8–5.5V–0–6MHz@2.7–5.5V–0–12MHz@4.5–5.5V�LowPowerConsumption–ActiveMode:1MHz,1.8V:240µA–Power-downMode:0.1µAat1.8V8-bitMicrocontrollerwith4/8KBytesIn-SystemProgrammableFlashATtiny48/88PreliminarySummaryRev.8008BS–AVR–06/0828008BS–AVR–06/08ATtiny48/881.PinConfigurationsFigure1-1.PinoutofATtiny48/88123456782423222120191817(PCINT19/INT1)PD3(PCINT20/T0)PD4(PCINT26)PA2VCCGND(PCINT27)PA3(PCINT6/CLKI)PB6(PCINT7)PB7PC1(ADC1/PCINT9)PC0(ADC0/PCINT8)PA1(ADC7/PCINT25)GNDPC7(PCINT15)PA0(ADC6/PCINT24)AVCCPB5(SCK/PCINT5)3231302928272625910111213141516(PCINT21/T1)PD5(PCINT22/AIN0)PD6(PCINT23/AIN1)PD7(PCINT0/CLKO/ICP1)PB0(PCINT1/OC1A)PB1(PCINT2/SS/OC1B)PB2(PCINT3/MOSI)PB3(PCINT4/MISO)PB4PD2(INT0/PCINT18)PD1(PCINT17)PD0(PCINT16)PC6(RESET/PCINT14)PC5(ADC5/SCL/PCINT13)PC4(ADC4/SDA/PCINT12)PC3(ADC3/PCINT11)PC2(ADC2/PCINT10)TQFPTopView12345678910111213142827262524232221201918171615(PCINT14/RESET)PC6(PCINT16)PD0(PCINT17)PD1(PCINT18/INT0)PD2(PCINT19/INT1)PD3(PCINT20/T0)PD4VCCGND(PCINT6/CLKI)PB6(PCINT7)PB7(PCINT21/T1)PD5(PCINT22/AIN0)PD6(PCINT23/AIN1)PD7(PCINT0/CLKO/ICP1)PB0PC5(ADC5/SCL/PCINT13)PC4(ADC4/SDA/PCINT12)PC3(ADC3/PCINT11)PC2(ADC2/PCINT10)PC1(ADC1/PCINT9)PC0(ADC0/PCINT8)GNDPC7(PCINT15)AVCCPB5(SCK/PCINT5)PB4(MISO/PCINT4)PB3(MOSI/PCINT3)PB2(SS/OC1B/PCINT2)PB1(OC1A/PCINT1)PDIP123456782423222120191817323130292827262591011121314151632MLFTopView(PCINT19/INT1)PD3(PCINT20/T0)PD4(PCINT26)PA2VCCGND(PCINT27)PA3(PCINT6/CLKI)PB6(PCINT7)PB7PC1(ADC1/PCINT9)PC0(ADC0/PCINT8)PA1(ADC7/PCINT25)GNDPC7(PCINT15)PA0(ADC6/PCINT24)AVCCPB5(SCK/PCINT5)(PCINT21/T1)PD5(PCINT22/AIN0)PD6(PCINT23/AIN1)PD7(PCINT0/CLKO/ICP1)PB0(PCINT1/OC1A)PB1(PCINT2/SS/OC1B)PB2(PCINT3/MOSI)PB3(PCINT4/MISO)PB4PD2(INT0/PCINT18)PD1(PCINT17)PD0(PCINT16)PC6(RESET/PCINT14)PC5(ADC5/SCL/PCINT13)PC4(ADC4/SDA/PCINT12)PC3(ADC3/PCINT11)PC2(ADC2/PCINT10)NOTE:Bottompadshouldbesolderedtoground.1234567212019181716152827262524232289101112131428MLFTopView(PCINT19/INT1)PD3(PCINT20/T0)PD4VCCGND(PCINT6/CLKI)PB6(PCINT7)PB7(PCINT21/T1)PD5(PCINT22/AIN0)PD6(PCINT23/AIN1)PD7(PCINT0/CLKO/ICP1)PB0(PCINT1/OC1A)PB1(PCINT2/SS/OC1B)PB2(PCINT3//MOSI)PB3(PCINT4/MISO)PB4PD2(INT0/PCINT18)PD1(PCINT17)PD0(PCINT16)PC6(RESET/PCINT14)PC5(ADC5/SCL/PCINT13)PC4(ADC4/SDA/PCINT12)PC3(ADC3/PCINT11)PC2(ADC2/PCINT10)PC1(ADC1/PCINT9)PC0(ADC0/PCINT8)GNDPC7(PCINT15)AVCCPB5(SCK/PCINT5)NOTE:Bottompadshouldbesolderedtoground.38008BS–AVR–06/08ATtiny48/881.1PinDescriptions1.1.1VCCDigitalsupplyvoltage.1.1.2GNDGround.1.1.3PortA(PA3:0)(in32-leadTQFPand32-padQFN/MLFpackages,only)PortAisa4-bitbi-directionalI/Oportwithinternalpull-upresistors(selectedforeachbit)in32-leadTQFPand32-padQFN/MLFpackage.ThePA3..0outputbuffershavesymmetricaldrivecharacteristicswithbothhighsinkandsourcecapability.Asinputs,PortApinsthatareexter-nallypulledlowwillsourcecurrentifthepull-upresistorsareactivated.ThePortApinsaretri-statedwhenaresetconditionbecomesactive,eveniftheclockisnotrunning.1.1.4PortB(PB7:0)PortBisan8-bitbi-directionalI/Oportwithinternalpull-upresistors(selectedforeachbit).ThePortBoutputbuffershavesymmetricaldrivecharacteristicswithbothhighsinkandsourcecapability.Asinputs,PortBpinsthatareexternallypulledlowwillsourcecurrentifthepull-upresistorsareactivated.ThePortBpinsaretri-statedwhenaresetconditionbecomesactive,eveniftheclockisnotrunning.Dependingontheclockselectionfusesettings,PB6canbeusedasinputtotheinternalclockoperatingcircuit.ThevariousspecialfeaturesofPortBareelaboratedin“AlternateFunctions

1 / 22
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功