aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h b/lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h
new file mode 100644
index 000000000..49804d07d
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/devices/LPC51U68/drivers/fsl_fro_calib.h
@@ -0,0 +1,47 @@
1/*
2 * Copyright (c) 2016, Freescale Semiconductor, Inc.
3 * Copyright 2016 - 2019 , NXP
4 * All rights reserved.
5 *
6 *
7 * SPDX-License-Identifier: BSD-3-Clause
8 */
9
10#ifndef __FSL_FRO_CALIB_H_
11#define __FSL_FRO_CALIB_H_
12
13/* Component ID definition, used by tools. */
14#ifndef FSL_COMPONENT_ID
15#define FSL_COMPONENT_ID "platform.drivers.fro_calib"
16#endif
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/** @defgroup FRO_CALIB_LIB_5411X CHIP: LPC5411X FRO CALIBRATION LIBRARY functions
24 * The FRO Calibration library provides functions to control FRO clock frequency.<br>
25 * @ingroup CHIP_5411X_DRIVERS
26 * @{
27 */
28
29/* Returns the version of the FRO Calibration library */
30unsigned int fro_calib_Get_Lib_Ver(void);
31
32/* timer instance */
33/* timer clock frquency in KHz */
34ErrorCode_t Chip_TIMER_Instance_Freq(CTIMER_Type *base, unsigned int timerFreq);
35
36/* USB_SOF_Event */
37ErrorCode_t USB_SOF_Event(USBD_HANDLE_T hUsb);
38
39/**
40 * @}
41 */
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* __FSL_FRO_CALIB_H_ */