2.29.5 Pins Driver

Overview

The Pins Driver provides the Firmware Implementations of Device pins used by the Peripherals.

Features

Based on the Pin Configuration in MCC Melody User interface Pin specific registers are generated as listed below

  • GPIO Pin APIs
  • IOC - Interrupt-on-Change Registers and APIs
  • PPS - Peripheral Pin Select Module Registers
    • Input
    • Output
    • Bi-Directional
  • I/O Ports Registers
    • PORTx - Port Register
    • LATx - Latch Register
    • TRISx - Direction Register
    • ANSELx - Analog Register
    • CNPUx - Weak-Pull Up
    • CNPDx - Weak-Pull Down
    • ODCx - Output Drain

2.29.5.1 Module Documentation

2.29.5.1.1 Pins Driver

The Pin Driver directs the operation and function of the selected device pins using dsPIC MCUs.

Module description

The Pin Driver directs the operation and function of the selected device pins using dsPIC MCUs.

Function Documentation

PINS_Initialize()

void PINS_Initialize (void )

Initializes the PINS module.

Parameters:
none
Returns:

none

2.29.5.2 File Documentation

2.29.5.2.1 source/pins.h File Reference

#include <xc.h>

Detailed Description

PINS Generated Driver Header File