|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
clock.h
1
17/*
18© [2024] Microchip Technology Inc. and its subsidiaries.
19
20 Subject to your compliance with these terms, you may use Microchip
21 software and any derivatives exclusively with Microchip products.
22 You are responsible for complying with 3rd party license terms
23 applicable to your use of 3rd party software (including open source
24 software) that may accompany Microchip software. SOFTWARE IS ?AS IS.?
25 NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS
26 SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
27 MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
28 WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
29 INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY
30 KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
31 MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE
32 FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S
33 TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT
34 EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR
35 THIS SOFTWARE.
36*/
37
38#ifndef CLOCK_H
39#define CLOCK_H
40
41// Section: Included Files
42
43#include <stdbool.h>
44
50#define CLOCK_SystemFrequencyGet() (200000000UL)
51
57#define CLOCK_PeripheralFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2)
58
64#define CLOCK_InstructionFrequencyGet() ((uint32_t)CLOCK_SystemFrequencyGet() / (uint32_t)2)
65
66// Section: CLOCK APIs
67
73void CLOCK_Initialize(void);
74
83bool CLOCK_AuxPllLockStatusGet(void);
84
85#endif /* CLOCK_H */
CLOCK_AuxPllLockStatusGet
bool CLOCK_AuxPllLockStatusGet(void)
Returns Auxiliary PLL status.
Definition clock.c:108
CLOCK_Initialize
void CLOCK_Initialize(void)
Initializes all the INTERNAL OSCILLATOR sources and clock switch configurations.
Definition clock.c:43