Jump to main content

##

# 2.15.53 CLOCK_GENERATOR Enum

## C

    typedef enum
    {
        CLOCK_GENERATOR_1 = 1,
        CLOCK_GENERATOR_2 = 2,
        CLOCK_GENERATOR_3 = 3,
        CLOCK_GENERATOR_4 = 4,
        CLOCK_GENERATOR_5 = 5,
        CLOCK_GENERATOR_6 = 6,
        CLOCK_GENERATOR_7 = 7,
        CLOCK_GENERATOR_8 = 8,
        CLOCK_GENERATOR_9 = 9,
        CLOCK_GENERATOR_10 = 10,
        CLOCK_GENERATOR_11 = 11,
        CLOCK_GENERATOR_12 = 12,
        CLOCK_GENERATOR_13 = 13,

        CLOCK_SYSTEM = 1,
        CLOCK_FRC = 2,
        CLOCK_WDT = 3,
        CLOCK_BFRC = 3,
        CLOCK_RAM_BIST = 4,
        CLOCK_NVM_BIST = 4,
        CLOCK_PWM = 5,
        CLOCK_ADC = 6,
        CLOCK_CMP_DAC = 7,
        CLOCK_UART = 8,
        CLOCK_SPI = 9,
        CLOCK_PTG = 10,
        CLOCK_BISS = 11,
        CLOCK_CCP = 12,
        CLOCK_REFO1 = 12,
        CLOCK_CLC = 13,
        CLOCK_IOIM = 13,
        CLOCK_REFO2 = 13

    } CLOCK_GENERATOR;

## Summary

Defines clock generators enabled in the clock plib.

## Description

This enumeration defines the Clock Generators that are enabled. The enums are expressed as clock generator number as well as in terms of peripherals that uses the clock.

## Remarks

None.