5.9 PMD - Peripheral Module Disable

5.9.1 Introduction

The MPLAB® Code Configurator (MCC) Melody Peripheral Module Disable Peripheral Library (PLIBs) drivers generates APIs to support PMD-specific peripheral functionality on target MCUs.

The Peripheral Module Disable (PMD) module provides the ability to selectively enable or disable a peripheral. The PMD puts the disabled peripherals in the lowest possible power state, thus reducing the overall power consumption of the microcontroller.

5.9.2 Supported Device Families

PIC16F153xx PIC16F171xx PIC16F181xx
PIC16F183xx PIC16F184xx PIC12/16F184x
PIC16F188xx PIC16F191xx PIC18F-Q20
PIC18F-Q40 PIC18F-Q41 PIC18F-K83
PIC18F-Q10 PIC18F-Q24 PIC18F-Q71
PIC18F-K42 PIC18F-Q43 PIC18F-Q83
PIC18F-Q84 PIC18F-K40

5.9.3 Required Included Files

#include "mcc_generated_files/system/src/system.c"
Note: The PMD API is implemented in system.c as an internal function called by System_Initialize().

5.9.4 Module Documentation

5.9.4.1 PMD

This file contains the API prototypes for the Peripheral Module Disable driver.

5.9.4.1.1 Module description

This file contains the API prototypes for the Peripheral Module Disable driver.

Version: Driver Version 2.0.1
Functions
  • void PMD_Initialize (void)

    Initializes the Peripheral Module Disable (PMDx) registers.

5.9.4.1.2 Function Documentation

PMD_Initialize()

void PMD_Initialize (void )

Initializes the Peripheral Module Disable (PMDx) registers.

Parameters:
None.
Returns:

None.

5.9.5 File Documentation

5.9.5.1 source/system.c File Reference

#include "../system.h"

5.9.5.1.1 Functions

  • void PMD_Initialize (void)

    Initializes the Peripheral Module Disable (PMDx) registers.

5.9.5.1.2 Detailed Description

The PMD API is implemented in this file as an internal function called by System_Initialize().