| 数据搜索系统,热门电子元器件搜索 |
|
PIC16C58B-20/SS 数据表(PDF) 13 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C58B-20/SS 数据表(HTML) 13 Page - Microchip Technology |
|
13 / 84 page ![]() © 1998 Microchip Technology Inc. Preliminary DS40191A-page 13 PIC16CR54C 4.0 MEMORY ORGANIZATION PIC16CR54C memory is organized into program memory and data memory. For devices with more than 512 bytes of program memory, a paging scheme is used. Program memory pages are accessed using one or two STATUS register bits. For devices with a data memory register file of more than 32 registers, a banking scheme is used. Data memory banks are accessed using the File Selection Register (FSR). 4.1 Program Memory Organization The PIC16CR54C has a 9-bit Program Counter (PC) capable of addressing a 512 x 12 program memory space (Figure 4-1). Accessing a location above the physically implemented address will cause a wraparound. The reset vector for the PIC16CR54C is at 1FFh. A NOP at the reset vector location will cause a restart at location 000h. FIGURE 4-1: PIC16CR54C PROGRAM MEMORY MAP AND STACK 4.2 Data Memory Organization Data memory is composed of registers, or bytes of RAM. Therefore, data memory for a device is specified by its register file. The register file is divided into two functional groups: special function registers and general purpose registers. The special function registers include the TMR0 register, the Program Counter (PC), the Status Register, the I/O registers (ports), and the File Select Register (FSR). In addition, special purpose registers are used to control the I/O port configuration and prescaler options. The general purpose registers are used for data and control information under command of the instructions. For the PIC16CR54C, the register file is composed of 7 special function registers and 25 general purpose registers (Figure 4-2). PC<8:0> Stack Level 1 Stack Level 2 CALL, RETLW 9 000h 1FFh Reset Vector 0FFh 100h On-chip Program Memory 4.2.1 GENERAL PURPOSE REGISTER FILE The register file is accessed either directly or indirectly through the file select register FSR (Section 4.7). FIGURE 4-2: PIC16CR54C REGISTER FILE MAP 4.2.2 SPECIAL FUNCTION REGISTERS The Special Function Registers are registers used by the CPU and peripheral functions to control the operation of the device (Table 4-1). The special registers can be classified into two sets. The special function registers associated with the “core” functions are described in this section. Those related to the operation of the peripheral features are described in the section for each peripheral feature. File Address 00h 01h 02h 03h 04h 05h 06h 1Fh INDF(1) TMR0 PCL STATUS FSR PORTA PORTB General Purpose Registers Note 1: Not a physical register. See Section 4.7 0Fh 10h 07h |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |