Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
9
Добавлен:
21.12.2020
Размер:
8.16 Mб
Скачать

PIC18F8722 FAMILY

REGISTER 25-3: CONFIG2H: CONFIGURATION REGISTER 2 HIGH (BYTE ADDRESS 300003h)

U-0

U-0

U-0

R/P-1

R/P-1

R/P-1

R/P-1

R/P-1

WDTPS3

WDTPS2

WDTPS1

WDTPS0

WDTEN

bit 7

 

 

 

 

 

 

bit 0

bit 7-5 Unimplemented: Read as ‘0

bit 4-1 WDTPS3:WDTPS0: Watchdog Timer Postscale Select bits

1111 = 1:32,768

1110 = 1:16,384

1101 = 1:8,192

1100 = 1:4,096

1011 = 1:2,048

1010 = 1:1,024

1001 = 1:512

1000 = 1:256

0111 = 1:128

0110 = 1:64

0101 = 1:32

0100 = 1:16

0011 = 1:8

0010 = 1:4

0001 = 1:2

0000 = 1:1

bit 0 WDTEN: Watchdog Timer Enable bit

1 = WDT enabled

0 = WDT disabled (control is placed on the SWDTEN bit)

Legend:

 

 

R = Readable bit

P = Programmable bit

U = Unimplemented bit, read as ‘0’

-n = Value when device is unprogrammed

u = Unchanged from programmed state

 

 

 

2004 Microchip Technology Inc.

Preliminary

DS39646B-page 301

PIC18F8722 FAMILY

REGISTER 25-4: CONFIG3L: CONFIGURATION REGISTER 3 LOW (BYTE ADDRESS 300004h)(1)

 

 

R/P-1

R/P-1

R/P-1

R/P-1

U-0

U-0

R/P-1

R/P-1

 

 

WAIT

BW

ABW1

ABW0

PM1

PM0

 

bit 7

 

 

 

 

 

 

 

bit 0

bit 7

WAIT: External Bus Data Wait Enable bit

 

 

 

 

 

1

=

Wait selections are unavailable for table reads and table writes

 

 

 

0

=

Wait selections for table reads and table writes are determined by the WAIT1:WAIT0 bits

bit 6 BW: Data Bus Width Select bit

1 = 16-bit External Bus mode

0 = 8-bit External Bus mode

bit 5-4 ABW<1:0>: Address Bus Width Select bits

11 = 20-bit address bus

10 = 16-bit address bus

01 = 12-bit address bus

00 = 8-bit address bus

bit 3-2 Unimplemented: Read as ‘0

bit 1-0 PM<1:0>: Processor Data Memory Mode Select bits

11 = Microcontroller mode

10 = Microprocessor mode

01 = Microprocessor with Boot Block mode

00 = Extended Microcontroller mode

Note 1: This register is unimplemented in PIC18F6527/6622/6627/6722 devices.

Legend:

 

 

R = Readable bit

P = Programmable bit

U = Unimplemented bit, read as ‘0’

-n = Value when device is unprogrammed

u = Unchanged from programmed state

 

 

 

DS39646B-page 302

Preliminary

2004 Microchip Technology Inc.

PIC18F8722 FAMILY

REGISTER 25-5: CONFIG3H: CONFIGURATION REGISTER 3 HIGH (BYTE ADDRESS 300005h)

R/P-1

U-0

U-0

U-0

U-0

R/P-0

R/P-1

R/P-1

MCLRE

LPT1OSC

ECCPMX(1)

CCP2MX

bit 7

 

 

 

 

 

 

bit 0

bit 7 MCLRE: MCLR Pin Enable bit

1 = MCLR pin enabled; RG5 input pin disabled 0 = RG5 input pin enabled; MCLR disabled

bit 6-3 Unimplemented: Read as ‘0

bit 2 LPT1OSC: Low-Power Timer1 Oscillator Enable bit

1 = Timer1 configured for low-power operation

0 = Timer1 configured for higher power operation bit 1 ECCPMX: ECCP Mux bit(1)

1 = ECCP1/3 (P1B/P1C/P3B/P3C) are multiplexed onto RE6, RE5, RE4 and RE3 respectively 0 = ECCP1/3 (P1B/P1C/P3B/P3C) are multiplexed onto RH7, RH6, RH5 and RH4 respectively

bit 0

CCP2MX: CCP2 Mux bit

 

 

 

1

= ECCP2 input/output is multiplexed with RC1

 

 

0

= ECCP2 input/output is multiplexed with RB3 in Extended Microcontroller, Microprocessor

 

 

or Microprocessor with Boot Block mode(1). ECCP2 is multiplexed with RE7 in

 

 

Microcontroller mode.

 

 

 

Note 1: This feature is only available on PIC18F8527/8622/8627/8722 devices.

 

 

 

 

 

Legend:

 

 

 

R = Readable bit

P = Programmable bit

U = Unimplemented bit, read as ‘0’

 

-n = Value when device is unprogrammed

u = Unchanged from programmed state

 

 

 

 

 

2004 Microchip Technology Inc.

Preliminary

DS39646B-page 303

PIC18F8722 FAMILY

REGISTER 25-6: CONFIG4L: CONFIGURATION REGISTER 4 LOW (BYTE ADDRESS 300006h)

 

R/P-1

R/P-0

R/P-0

R/P-0

U-0

R/P-1

U-0

R/P-1

 

DEBUG

 

XINST

BBSIZ1

BBSIZ0

LVP

STVREN

bit 7

 

 

 

 

 

 

bit 0

bit 7 DEBUG: Background Debugger Enable bit

1 = Background debugger disabled, RB6 and RB7 configured as general purpose I/O pins 0 = Background debugger enabled, RB6 and RB7 are dedicated to In-Circuit Debug

bit 6 XINST: Extended Instruction Set Enable bit

1 = Instruction set extension and Indexed Addressing mode enabled

0 = Instruction set extension and Indexed Addressing mode disabled (Legacy mode)

bit 5-4 BBSIZ<1:0>: Boot Block Size Select bits

11 = 4K words (8 Kbytes) Boot Block size

10 = 4K words (8 Kbytes) Boot Block size

01 = 2K words (4 Kbytes) Boot Block size

00 = 1K word (2 Kbytes) Boot Block size

bit 3 Unimplemented: Read as ‘0

bit 2 LVP: Single-Supply ICSP™ Enable bit

1 = Single-Supply ICSP enabled

0= Single-Supply ICSP disabled bit 1 Unimplemented: Read as ‘0

bit 0 STVREN: Stack Full/Underflow Reset Enable bit

1= Stack full/underflow will cause Reset

0 = Stack full/underflow will not cause Reset

Legend:

 

 

R = Readable bit

C = Clearable bit

U = Unimplemented bit, read as ‘0’

-n = Value when device is unprogrammed

u = Unchanged from programmed state

 

 

 

DS39646B-page 304

Preliminary

2004 Microchip Technology Inc.

Соседние файлы в папке Склад