Clock configurator driver for System and Peripheral Clock using dsPIC MCUs. More...
Collaboration diagram for Clock Driver:Files | |
| file | clock.c |
| This is the generated source file for CLOCK driver. | |
| file | clock.c |
| This is the generated source file for CLOCK driver. | |
Macros | |
| #define | CLOCK_SystemFrequencyGet() (180000000UL) |
| This macro is used to read the System clock (FOSC) Frequency configured in the MCC Melody User Interface. | |
| #define | CLOCK_PeripheralFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| This macro is used to read the Peripheral Clock (FP) Frequency configured in the MCC Melody User Interface. | |
| #define | CLOCK_InstructionFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| This macro is used to read the Instruction Clock (FCY) Frequency configured in the MCC Melody User Interface. | |
| #define | CLOCK_SystemFrequencyGet() (200000000UL) |
| This macro is used to read the System clock (FOSC) Frequency configured in the MCC Melody User Interface. | |
| #define | CLOCK_PeripheralFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| This macro is used to read the Peripheral Clock (FP) Frequency configured in the MCC Melody User Interface. | |
| #define | CLOCK_InstructionFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| This macro is used to read the Instruction Clock (FCY) Frequency configured in the MCC Melody User Interface. | |
Functions | |
| void | CLOCK_Initialize (void) |
| Initializes all the INTERNAL OSCILLATOR sources and clock switch configurations. | |
| bool | CLOCK_AuxPllLockStatusGet (void) |
| Returns Auxiliary PLL status. | |
| #define CLOCK_InstructionFrequencyGet | ( | ) | ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| #define CLOCK_InstructionFrequencyGet | ( | ) | ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| #define CLOCK_PeripheralFrequencyGet | ( | ) | ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| #define CLOCK_PeripheralFrequencyGet | ( | ) | ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2) |
| bool CLOCK_AuxPllLockStatusGet | ( | void | ) |
Definition at line 104 of file clock.c.
Here is the caller graph for this function: