參數資料
    型號: PIC16LF1903-E/SO
    廠商: Microchip Technology
    文件頁數: 165/240頁
    文件大?。?/td> 0K
    描述: MCU 7KB FLASH 256B RAM 28SOIC
    標準包裝: 27
    系列: PIC® XLP™ 16F
    核心處理器: PIC
    芯體尺寸: 8-位
    速度: 20MHz
    外圍設備: 欠壓檢測/復位,LCD,POR,PWM,WDT
    輸入/輸出數: 25
    程序存儲器容量: 7KB(4K x 14)
    程序存儲器類型: 閃存
    RAM 容量: 256 x 8
    電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 3.6 V
    數據轉換器: A/D 11x10b
    振蕩器型: 內部
    工作溫度: -40°C ~ 125°C
    封裝/外殼: 28-SOIC(0.295",7.50mm 寬)
    包裝: 管件
    第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁當前第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁
    PIC16LF1902/3
    DS41455B-page 30
    Preliminary
    2011 Microchip Technology Inc.
    3.4
    Stack
    All devices have a 16-level x 15-bit wide hardware
    stack (refer to Figures 3-3 and 3-3). The stack space is
    not part of either program or data space. The PC is
    PUSHed onto the stack when CALL or CALLW instruc-
    tions are executed or an interrupt causes a branch. The
    stack is POPed in the event of a RETURN, RETLW or a
    RETFIE
    instruction execution. PCLATH is not affected
    by a PUSH or POP operation.
    The stack operates as a circular buffer if the STVREN
    bit is programmed to ‘0‘ (Configuration Word 2). This
    means that after the stack has been PUSHed sixteen
    times, the seventeenth PUSH overwrites the value that
    was stored from the first PUSH. The eighteenth PUSH
    overwrites the second PUSH (and so on). The
    STKOVF and STKUNF flag bits will be set on an Over-
    flow/Underflow, regardless of whether the Reset is
    enabled.
    3.4.1
    ACCESSING THE STACK
    The stack is available through the TOSH, TOSL and
    STKPTR registers. STKPTR is the current value of the
    Stack Pointer. TOSH:TOSL register pair points to the
    TOP of the stack. Both registers are read/writable. TOS
    is split into TOSH and TOSL due to the 15-bit size of the
    PC. To access the stack, adjust the value of STKPTR,
    which will position TOSH:TOSL, then read/write to
    TOSH:TOSL. STKPTR is 5 bits to allow detection of
    overflow and underflow.
    During normal program operation, CALL, CALLW and
    Interrupts will increment STKPTR while RETLW,
    RETURN
    , and RETFIE will decrement STKPTR. At any
    time STKPTR can be inspected to see how much stack
    is left. The STKPTR always points at the currently used
    place on the stack. Therefore, a CALL or CALLW will
    increment the STKPTR and then write the PC, and a
    return will unload the PC and then decrement the
    STKPTR.
    Reference Figure 3-5 through Figure 3-8 for examples
    of accessing the stack.
    FIGURE 3-5:
    ACCESSING THE STACK EXAMPLE 1
    Note:
    There are no instructions/mnemonics
    called PUSH or POP. These are actions
    that occur from the execution of the
    CALL,
    CALLW
    , RETURN, RETLW and
    RETFIE
    instructions or the vectoring to an
    interrupt address.
    Note:
    Care should be taken when modifying the
    STKPTR while interrupts are enabled.
    0x0F
    0x0E
    0x0D
    0x0C
    0x0B
    0x0A
    0x09
    0x08
    0x07
    0x06
    0x05
    0x04
    0x03
    0x02
    0x01
    0x00
    0x0000
    STKPTR = 0x1F
    Initial Stack Configuration:
    After Reset, the stack is empty. The
    empty stack is initialized so the Stack
    Pointer is pointing at 0x1F. If the Stack
    Overflow/Underflow Reset is enabled, the
    TOSH/TOSL registers will return ‘0’. If
    the Stack Overflow/Underflow Reset is
    disabled, the TOSH/TOSL registers will
    return the contents of stack address 0x0F.
    0x1F
    STKPTR = 0x1F
    Stack Reset Disabled
    (STVREN = 0)
    Stack Reset Enabled
    (STVREN = 1)
    TOSH:TOSL
    相關PDF資料
    PDF描述
    PIC16LF1823-E/P IC MCU 8BIT 3.5KB FLASH 14PDIP
    VE-JN4-IW-F2 CONVERTER MOD DC/DC 48V 100W
    VE-JN3-IW-F2 CONVERTER MOD DC/DC 24V 100W
    D38999/20MJ24SB CONN RCPT 24POS WALL MNT W/SCKT
    MS27467E25A46SA CONN PLUG 46POS STRAIGHT W/SCKT
    相關代理商/技術參數
    參數描述
    PIC16LF1903-I/ML 功能描述:8位微控制器 -MCU 7KB FL 256B RAM LCD ADC nanoWatt XLP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
    PIC16LF1903-I/MV 功能描述:8位微控制器 -MCU 7KB FL 256B RAM LCD ADC nanoWatt XLP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
    PIC16LF1903-I/SO 功能描述:8位微控制器 -MCU 7KB FL 256B RAM LCD ADC nanoWatt XLP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
    PIC16LF1903-I/SO 制造商:Microchip Technology Inc 功能描述:IC 8BIT MCU PIC16F 20 MHz 28-SOIC 制造商:Microchip Technology Inc 功能描述:IC, 8BIT MCU, PIC16LF, 20MHz, SOIC-28
    PIC16LF1903-I/SP 功能描述:8位微控制器 -MCU 7KB FL 256B RAM LCD ADC nanoWatt XLP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT