Clock configurator driver for System and Peripheral Clock using dsPIC MCUs.
More...
|
file | clock.c |
| This is the generated source file for CLOCK driver.
|
|
|
#define | CLOCK_SystemFrequencyGet() |
| This macro is used to read the System clock (FOSC) Frequency configured in the MCC Melody User Interface.
|
|
#define | CLOCK_PeripheralFrequencyGet() |
| This macro is used to read the Peripheral Clock (FP) Frequency configured in the MCC Melody User Interface.
|
|
#define | CLOCK_InstructionFrequencyGet() |
| This macro is used to read the Instruction Clock (FCY) Frequency configured in the MCC Melody User Interface.
|
|
- Version
- Firmware Driver Version 1.0.2
-
PLIB Version 1.4.1
◆ CLOCK_InstructionFrequencyGet
#define CLOCK_InstructionFrequencyGet |
( |
| ) |
|
Value:
#define CLOCK_SystemFrequencyGet()
This macro is used to read the System clock (FOSC) Frequency configured in the MCC Melody User Interf...
Definition at line 64 of file clock.h.
◆ CLOCK_PeripheralFrequencyGet
#define CLOCK_PeripheralFrequencyGet |
( |
| ) |
|
Value:
Definition at line 57 of file clock.h.
◆ CLOCK_SystemFrequencyGet
#define CLOCK_SystemFrequencyGet |
( |
| ) |
|
Value:
Definition at line 50 of file clock.h.
◆ CLOCK_AuxPllLockStatusGet()
bool CLOCK_AuxPllLockStatusGet |
( |
void | | ) |
|
- Precondition
- CLOCK_Initialize() should be called for the associated function to work.
- Returns
- true - Auxiliary PLL locked
-
false - Auxiliary PLL not locked
Definition at line 108 of file clock.c.
◆ CLOCK_Initialize()
void CLOCK_Initialize |
( |
void | | ) |
|
- Returns
- none
Definition at line 43 of file clock.c.