1 /* 2 * Copyright 2018 NXP 3 * All rights reserved. 4 * 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 #ifndef FSL_SYSCON_H_ 10 #define FSL_SYSCON_H_ 11 12 #include "fsl_syscon_connections.h" 13 /******************************************************************************* 14 * Definitions 15 ******************************************************************************/ 16 17 /*! 18 * @addtogroup syscon 19 * @{ 20 */ 21 22 /*! @file */ 23 /*! @file fsl_syscon.h */ 24 25 /******************************************************************************* 26 * Definitions 27 ******************************************************************************/ 28 29 /*! @name Driver version */ 30 /*! @{ */ 31 /*! @brief Group syscon driver version for SDK */ 32 #define FSL_SYSON_DRIVER_VERSION (MAKE_VERSION(2, 0, 1)) /*!< Version 2.0.1. */ 33 /*! @} */ 34 35 /******************************************************************************* 36 * API 37 ******************************************************************************/ 38 39 #ifdef __cplusplus 40 extern "C" { 41 #endif 42 43 /*! 44 * @brief Attaches a signal 45 * 46 * This function gates the SYSCON clock. 47 * 48 * @param base Base address of the SYSCON peripheral. 49 * @param index Destination peripheral to attach the signal to. 50 * @param connection Selects connection. 51 * 52 * @retval None. 53 */ 54 void SYSCON_AttachSignal(SYSCON_Type *base, uint32_t index, syscon_connection_t connection); 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 /*! @} */ 61 62 #endif /* FSL_SYSCON_H_ */ 63