Microchip PIC24F I/O Ports Reference Manual

This datasheet details the I/O ports, control registers, peripheral multiplexing, and Peripheral Pin Select (PPS) features for the PIC24F family of…


Microchip PIC24F I/O Ports Reference Manual - cover page
Brand
MICROCHIP
Category
microcontrollers
Document type
Datasheet
Language
English
Pages
24
File format
PDF
File size
340 KB
Published
16 October, 2026
Updated
16 October, 2026
Model
PIC24F
MD5 checksum
BB93BEF9F91A94B71FF8DE54027BB532

About this manual

This document serves as a reference guide for the I/O ports within the PIC24F Family Reference Manual. It covers the fundamental operation of general-purpose I/O pins and their ability to be multiplexed with various peripheral functions. The text explains the specific registers used to control port behavior, including data direction, data latching, and open-drain configurations.

What's inside

  • Introduction
  • I/O Port Control Registers
  • TRIS Registers
  • PORT Registers
  • LAT Registers
  • ODC Registers
  • Peripheral Multiplexing
  • Peripheral Pin Select
  • Port Descriptions
  • Change Notification Pins

Specifications

Reset State for TRIS bitsAll port pins are defined as inputs
TRIS bit logic1 = Input, 0 = Output
ODC bit logic1 = Open-drain, 0 = Normal

Frequently asked questions

What is the function of the TRISx register?

The TRISx register determines whether each pin associated with the I/O port is configured as an input or an output.

What is the purpose of the LATx register?

The LATx register eliminates problems associated with read-modify-write instructions by reading values from the port output latches instead of the I/O pins.

How does the ODCx register affect pin output?

The ODCx register configures each I/O pin for either normal digital output or open-drain output.

Download PDF (340 KB)

More MICROCHIP Manuals


View all MICROCHIP manuals →