Credits

The material cited here is used by permission of the sources listed below.

Copyright of Microchip Technology, Inc. 2014, Used by Permission.

From PIC18F4321 Family Data Sheet, DS39689F:

FIGURE OF THE PIC18F4321 pin diagram on Page 3.

FIGURE 1–1 PIC18F4221/4321 (40/44-PIN) BLOCK DIAGRAM on Page 11.

TABLE 1–3: PIC18F4221/4321 PINOUT I/O DESCRIPTIONS, Pages 16–21.

REGISTER 2–2: OSCCON-OSCILLATOR CONTROL REGISTER, Page 31.

REGISTER 9–1: INTCON-Interrupt Control Register, Page 93.

REGISTER 9–2: INTCON2-Interrupt Control Register2, Page 94.

REGISTER 9–3: INTCON3-Interrupt Control Register3, Page 95.

REGISTER 4–1: RCON-Reset Control Register, Page 102.

REGISTER 9–4: PIR1-Peripheral Interrupt Request (Flag) Reg 1, Page 96.

REGISTER 9–5: PIR2-Peripheral Interrupt Request (Flag) Reg 2, Page 97.

REGISTER 9–6: PIE1-Peripheral Interrupt Request (Flag) Reg 1, Page 98.

REGISTER 9–7: PIE2-Peripheral Interrupt Request (Flag) Reg 2, Page 99.

REGISTER 9–8: IPR1-Peripheral Interrupt Request (Flag) Reg 2, Page 100.

REGISTER 9–9: IPR2-Peripheral Interrupt Request (Flag) Reg 2, Page 101.

REGISTER 11–1: T0CON-Timer0 Control Register, Page 122.

FIGURE 11–1: TIMER0 BLOCK DIAGRAM (8-bit mode), Page 123.

FIGURE 11–2; Timer0 block diagram (16-bit mode), Page 123.

REGISTER 12–1: T1CON-Timer1 Control Register 1, Page 127.

REGISTER 13–1: T2CON-Timer2 Control Register 2, Page 133.

REGISTER 14–1: T3CON, Timer3 Control Register 3, Page 135.

REGISTER 15–1: CCPxCON-CCPxCON Register, Page 139.

REGISTER 17–1: ...

Get Fundamentals of Digital Logic and Microcontrollers, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.