3.5 Pins Driver

3.5.1 Introduction

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

3.5.2 Module Documentation

3.5.2.1 Pins Driver

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

3.5.2.1.1 Module description

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

3.5.2.1.1.1 Functions

3.5.2.1.2 Function Documentation

3.5.2.1.2.1 PINS_Initialize()

void PINS_Initialize (void )

Initializes the PINS module.

Parameters:
none
Returns:

none

3.5.3 File Documentation

3.5.3.1 source/pins.h File Reference

#include <xc.h>

3.5.3.1.1 Functions

3.5.3.1.2 Detailed Description

PINS Generated Driver Header File