2011-2014MicrochipTechnologyInc.DS40001585B_CN第1页PIC10(L)F320/322高性能RISCCPU:•只需要学习35条指令:-除了跳转指令以外,所有的指令都是单周期指令•工作速度:-DC–16MHz时钟输入-DC–250ns指令周期•最多512字的闪存程序存储器•64字节数据存储器•8级深硬件堆栈•中断功能•处理器可对程序存储器进行自写/读访问•引脚布局与其他6引脚PIC10FXXX单片机兼容单片机的特性:•低功耗16MHz内部振荡器:-软件可选频率范围是31kHz至16MHz-出厂时校准为1%(典型值)•宽工作电压范围:-1.8V至3.6V(PIC10LF320/322)-2.3V至5.5V(PIC10F320/322)•上电复位(Power-OnReset,POR)•上电延时定时器(Power-upTimer,PWRT)•欠压复位(Brown-OutReset,BOR)•超低功耗休眠稳压器•扩展型看门狗定时器(WatchdogTimer,WDT)•可编程代码保护•节能的休眠模式•可选振荡器选项(EC模式或内部振荡器)•通过两个引脚进行在线串行编程(In-CircuitSerialProgramming™,ICSP™)•在线调试器支持•固定参考电压(FixedVoltageReference,FVR),具有1.024V、2.048V和4.096V(仅限F型器件)输出电平•集成温度指示器•闪存数据的保持时间为40年低功耗特性(PIC10LF320/322):•待机电流:-1.8V时为20nA(典型值)•工作电流:-1MHz、1.8V时为25A(典型值)•看门狗定时器电流:-1.8V时为500nA(典型值)外设特性:•4个I/O引脚:-1个仅用作输入的引脚-高拉/灌电流可直接驱动LED-独立的可选弱上拉-电平变化中断•Timer0:带8位可编程预分频器的8位定时器/计数器•Timer2:带8位周期寄存器、预分频器和后分频器的8位定时器/计数器•两个PWM模块:-10位PWM,最高频率为16kHz-结合为两相单路输出•A/D转换器:-8位分辨率和3路通道•可配置逻辑单元(ConfigurableLogicCell,CLC):-8个可选输入信号源-每个模块有2个输入-软件可选择的逻辑功能包括:AND/OR/XOR/D触发器/D锁存器/SR/JK-外部或内部输入/输出-可在休眠期间工作•数控振荡器(NumericallyControlledOscillator,NCO):-20位累加器-16位递增值-线性频率控制-高速时钟输入-可选输出模式-固定占空比(FixedDutyCycle,FDC)-脉冲频率(PulseFrequency,PF)模式•互补波形发生器(ComplementaryWaveformGenerator,CWG):-可选下降沿和上升沿死区控制-极性控制-2个自动关闭源-多个输入源:PWM、CLC和NCO6/8引脚8位闪存单片机PIC10(L)F320/322DS40001585B_CN第2页2011-2014MicrochipTechnologyInc.PIC10(L)F320/322系列型号器件数据手册索引闪存程序存储器(字)数据SRAM(字节)I/O(2)8位ADC(通道)定时器(8位)PWM互补波形发生器(CWG)可配置逻辑单元(CLC)固定参考电压(FVR)数控振荡器(NCO)调试(1)XLPPIC10(L)F320(1)2566443221111H无PIC10(L)F322(1)5126443221111H无注1:I——在芯片上集成调试功能;H——需要调试头进行调试;E——需要仿真头进行仿真。2:其中一个引脚仅用作输入引脚。数据手册索引:1:DS40001585B_CNPIC10(L)F320/322数据手册,6/8引脚高性能闪存单片机。注:关于其他可用的小封装和标识信息,请访问或联系当地的销售办事处。2011-2014MicrochipTechnologyInc.DS40001585B_CN第3页PIC10(L)F320/322图1:PIC10(L)F320/322的6引脚图图2:PIC10(L)F320/322的8引脚图表1:PIC10(L)F320/322的6引脚和8引脚分配表I/O6引脚8引脚模拟定时器PWM中断上拉CWGNCOCLC基本功能ICSPRA015AN0—PWM1IOC0有CWG1A—CLC1IN0—ICSPDATRA134AN1—PWM2IOC1有CWG1BNCO1CLKCLC1CLKINICSPCLKRA243AN2T0CKI—INT/IOC2有CWG1FLTNCO1CLC1IN1CLKRRA368———IOC3有———MCLRVPPN/C—1——————————N/C—6——————————VDD52————————VDD—VSS27————————VSS—SOT-23123456PIC10(L)F320PIC10(L)F322RA3/MCLR/VPPVDDRA2ICSPCLK/RA1ICSPDAT/RA0VSSPDIP和DFN12345678PIC10(L)F320PIC10(L)F322RA3/MCLR/VPPVSSN/CRA0/ICSPDATICSPCLK/RA1N/CVDDRA2PIC10(L)F320/322DS40001585B_CN第4页2011-2014MicrochipTechnologyInc.目录1.0器件概述.......................................................................................................................................................................................62.0存储器构成...................................................................................................................................................................................93.0器件配置.....................................................................................................................................................................................194.0振荡器模块.................................................................................................................................................................................245.0复位............................................................................................................................................................................................286.0中断............................................................................................................................................................................................357.0掉电模式(休眠).......................................................................................................................................................................448.0看门狗定时器(WDT)..............................................................................................................................................................469.0闪存程序存储器控制...................................................................................................................................................................5010.0I/O端口.......................................................................................................................................................................................6711.0电平变化中断..............................................................................................................................................................................7312.0固定参考电压(FVR)...............................................................................................................................................................7713.0内部稳压器(IVR)....................................................................................................................................................................7914.0温度指示器模块..........................................................................................................................................................................8115.0模数转换器(ADC)模块.................................................