mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Thu Sep 18 14:00:17 2014 +0100
Revision:
324:406fd2029f23
Synchronized with git revision a73f28e6fbca9559fbed2726410eeb4c0534a4a5

Full URL: https://github.com/mbedmicro/mbed/commit/a73f28e6fbca9559fbed2726410eeb4c0534a4a5/

Extended #476, which does not break ethernet for K64F

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 324:406fd2029f23 1 /*
mbed_official 324:406fd2029f23 2 * Copyright (c) 2013 - 2014, Freescale Semiconductor, Inc.
mbed_official 324:406fd2029f23 3 * All rights reserved.
mbed_official 324:406fd2029f23 4 *
mbed_official 324:406fd2029f23 5 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 324:406fd2029f23 6 * are permitted provided that the following conditions are met:
mbed_official 324:406fd2029f23 7 *
mbed_official 324:406fd2029f23 8 * o Redistributions of source code must retain the above copyright notice, this list
mbed_official 324:406fd2029f23 9 * of conditions and the following disclaimer.
mbed_official 324:406fd2029f23 10 *
mbed_official 324:406fd2029f23 11 * o Redistributions in binary form must reproduce the above copyright notice, this
mbed_official 324:406fd2029f23 12 * list of conditions and the following disclaimer in the documentation and/or
mbed_official 324:406fd2029f23 13 * other materials provided with the distribution.
mbed_official 324:406fd2029f23 14 *
mbed_official 324:406fd2029f23 15 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
mbed_official 324:406fd2029f23 16 * contributors may be used to endorse or promote products derived from this
mbed_official 324:406fd2029f23 17 * software without specific prior written permission.
mbed_official 324:406fd2029f23 18 *
mbed_official 324:406fd2029f23 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
mbed_official 324:406fd2029f23 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
mbed_official 324:406fd2029f23 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 324:406fd2029f23 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
mbed_official 324:406fd2029f23 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
mbed_official 324:406fd2029f23 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mbed_official 324:406fd2029f23 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
mbed_official 324:406fd2029f23 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mbed_official 324:406fd2029f23 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
mbed_official 324:406fd2029f23 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 324:406fd2029f23 29 */
mbed_official 324:406fd2029f23 30
mbed_official 324:406fd2029f23 31 #if !defined(__FSL_SIM_HAL_K64F12_H__)
mbed_official 324:406fd2029f23 32 #define __FSL_SIM_HAL_K64F12_H__
mbed_official 324:406fd2029f23 33
mbed_official 324:406fd2029f23 34 /*! @addtogroup sim_hal*/
mbed_official 324:406fd2029f23 35 /*! @{*/
mbed_official 324:406fd2029f23 36
mbed_official 324:406fd2029f23 37 /*! @file*/
mbed_official 324:406fd2029f23 38
mbed_official 324:406fd2029f23 39 /*******************************************************************************
mbed_official 324:406fd2029f23 40 * Definitions
mbed_official 324:406fd2029f23 41 ******************************************************************************/
mbed_official 324:406fd2029f23 42
mbed_official 324:406fd2029f23 43 /*! @brief SIM SDHC clock source */
mbed_official 324:406fd2029f23 44 typedef enum _sim_sdhc_clock_source
mbed_official 324:406fd2029f23 45 {
mbed_official 324:406fd2029f23 46 kSimSdhcSrcCoreSysClk, /* Core/system clock */
mbed_official 324:406fd2029f23 47 kSimSdhcSrcPllFllSel, /* clock as selected by SOPT2[PLLFLLSEL]. */
mbed_official 324:406fd2029f23 48 kSimSdhcSrcOscerclk, /* OSCERCLK clock */
mbed_official 324:406fd2029f23 49 kSimSdhcSrcExt /* External bypass clock (SDHC0_CLKIN) */
mbed_official 324:406fd2029f23 50 } sim_sdhc_clock_source_t;
mbed_official 324:406fd2029f23 51
mbed_official 324:406fd2029f23 52 /*! @brief SIM TIME clock source */
mbed_official 324:406fd2029f23 53 typedef enum _sim_time_clock_source
mbed_official 324:406fd2029f23 54 {
mbed_official 324:406fd2029f23 55 kSimTimeSrcCoreSysClk, /* Core/system clock */
mbed_official 324:406fd2029f23 56 kSimTimeSrcPllFllSel, /* clock as selected by SOPT2[PLLFLLSEL]. */
mbed_official 324:406fd2029f23 57 kSimTimeSrcOscerclk, /* OSCERCLK clock */
mbed_official 324:406fd2029f23 58 kSimTimeSrcExt /* ENET 1588 clock in (ENET_1588_CLKIN) */
mbed_official 324:406fd2029f23 59 } sim_time_clock_source_t;
mbed_official 324:406fd2029f23 60
mbed_official 324:406fd2029f23 61 /*! @brief SIM RMII clock source */
mbed_official 324:406fd2029f23 62 typedef enum _sim_rmii_clock_source
mbed_official 324:406fd2029f23 63 {
mbed_official 324:406fd2029f23 64 kSimRmiiSrcExtalClk, /* EXTAL Clock */
mbed_official 324:406fd2029f23 65 kSimRmiiSrcExt /* ENET 1588 clock in (ENET_1588_CLKIN) */
mbed_official 324:406fd2029f23 66 } sim_rmii_clock_source_t;
mbed_official 324:406fd2029f23 67
mbed_official 324:406fd2029f23 68 /*! @brief SIM USB clock source */
mbed_official 324:406fd2029f23 69 typedef enum _sim_usb_clock_source
mbed_official 324:406fd2029f23 70 {
mbed_official 324:406fd2029f23 71 kSimUsbSrcClkIn, /* USB CLKIN Clock */
mbed_official 324:406fd2029f23 72 kSimUsbSrcPllFllSel /* clock as selected by SOPT2[PLLFLLSEL] */
mbed_official 324:406fd2029f23 73 } sim_usb_clock_source_t;
mbed_official 324:406fd2029f23 74
mbed_official 324:406fd2029f23 75 /*! @brief SIM PLLFLLSEL clock source select */
mbed_official 324:406fd2029f23 76 typedef enum _sim_pllfll_clock_sel
mbed_official 324:406fd2029f23 77 {
mbed_official 324:406fd2029f23 78 kSimPllFllSelFll, /* Fll clock */
mbed_official 324:406fd2029f23 79 kSimPllFllSelPll /* Pll0 clock */
mbed_official 324:406fd2029f23 80 } sim_pllfll_clock_sel_t;
mbed_official 324:406fd2029f23 81
mbed_official 324:406fd2029f23 82 /*! @brief SIM OSC32KSEL clock source select */
mbed_official 324:406fd2029f23 83 typedef enum _sim_osc32k_clock_sel
mbed_official 324:406fd2029f23 84 {
mbed_official 324:406fd2029f23 85 kSimOsc32kSelOsc32k, /* OSC 32k clock */
mbed_official 324:406fd2029f23 86 kSimOsc32kSelReserved, /* Reserved */
mbed_official 324:406fd2029f23 87 kSimOsc32kSelRtc32k, /* RTC 32k clock */
mbed_official 324:406fd2029f23 88 kSimOsc32kSelLpo /* LPO clock */
mbed_official 324:406fd2029f23 89 } sim_osc32k_clock_sel_t;
mbed_official 324:406fd2029f23 90
mbed_official 324:406fd2029f23 91 /*! @brief SIM TRACESEL clock source select */
mbed_official 324:406fd2029f23 92 typedef enum _sim_trace_clock_sel
mbed_official 324:406fd2029f23 93 {
mbed_official 324:406fd2029f23 94 kSimTraceMcgoutClk, /* MCG out clock */
mbed_official 324:406fd2029f23 95 kSimTraceCoreClk /* core clock */
mbed_official 324:406fd2029f23 96 } sim_trace_clock_sel_t;
mbed_official 324:406fd2029f23 97
mbed_official 324:406fd2029f23 98 /*! @brief SIM CLKOUT_SEL clock source select */
mbed_official 324:406fd2029f23 99 typedef enum _sim_clkout_clock_sel
mbed_official 324:406fd2029f23 100 {
mbed_official 324:406fd2029f23 101 kSimClkoutFlexbusClk, /* Flexbus clock */
mbed_official 324:406fd2029f23 102 kSimClkoutReserved, /* Reserved */
mbed_official 324:406fd2029f23 103 kSimClkoutFlashClk, /* Flash clock */
mbed_official 324:406fd2029f23 104 kSimClkoutLpoClk, /* LPO clock */
mbed_official 324:406fd2029f23 105 kSimClkoutMcgIrcClk, /* MCG out clock */
mbed_official 324:406fd2029f23 106 kSimClkoutRtc32kClk, /* RTC 32k clock */
mbed_official 324:406fd2029f23 107 kSimClkoutReserved1
mbed_official 324:406fd2029f23 108 } sim_clkout_clock_sel_t;
mbed_official 324:406fd2029f23 109
mbed_official 324:406fd2029f23 110 /*! @brief SIM RTCCLKOUTSEL clock source select */
mbed_official 324:406fd2029f23 111 typedef enum _sim_rtcclkout_clock_sel
mbed_official 324:406fd2029f23 112 {
mbed_official 324:406fd2029f23 113 kSimRtcClkout1hzClk, /* 1Hz clock */
mbed_official 324:406fd2029f23 114 kSimRtcClkout32kClk /* 32KHz clock */
mbed_official 324:406fd2029f23 115 } sim_rtcclkout_clock_sel_t;
mbed_official 324:406fd2029f23 116
mbed_official 324:406fd2029f23 117 /*******************************************************************************
mbed_official 324:406fd2029f23 118 * API
mbed_official 324:406fd2029f23 119 ******************************************************************************/
mbed_official 324:406fd2029f23 120
mbed_official 324:406fd2029f23 121 #if defined(__cplusplus)
mbed_official 324:406fd2029f23 122 extern "C" {
mbed_official 324:406fd2029f23 123 #endif /* __cplusplus*/
mbed_official 324:406fd2029f23 124
mbed_official 324:406fd2029f23 125 /*! @name IP related clock feature APIs*/
mbed_official 324:406fd2029f23 126 /*@{*/
mbed_official 324:406fd2029f23 127
mbed_official 324:406fd2029f23 128 /*!
mbed_official 324:406fd2029f23 129 * @brief Enable the clock for DMA module.
mbed_official 324:406fd2029f23 130 *
mbed_official 324:406fd2029f23 131 * This function enables the clock for DMA moudle.
mbed_official 324:406fd2029f23 132 *
mbed_official 324:406fd2029f23 133 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 134 * @param instance module device instance
mbed_official 324:406fd2029f23 135 */
mbed_official 324:406fd2029f23 136 void SIM_HAL_EnableDmaClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 137
mbed_official 324:406fd2029f23 138 /*!
mbed_official 324:406fd2029f23 139 * @brief Disable the clock for DMA module.
mbed_official 324:406fd2029f23 140 *
mbed_official 324:406fd2029f23 141 * This function disables the clock for DMA moudle.
mbed_official 324:406fd2029f23 142 *
mbed_official 324:406fd2029f23 143 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 144 * @param instance module device instance
mbed_official 324:406fd2029f23 145 */
mbed_official 324:406fd2029f23 146 void SIM_HAL_DisableDmaClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 147
mbed_official 324:406fd2029f23 148 /*!
mbed_official 324:406fd2029f23 149 * @brief Get the the clock gate state for DMA module.
mbed_official 324:406fd2029f23 150 *
mbed_official 324:406fd2029f23 151 * This function will get the clock gate state for DMA moudle.
mbed_official 324:406fd2029f23 152 *
mbed_official 324:406fd2029f23 153 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 154 * @param instance module device instance
mbed_official 324:406fd2029f23 155 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 156 */
mbed_official 324:406fd2029f23 157 bool SIM_HAL_GetDmaGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 158
mbed_official 324:406fd2029f23 159 /*!
mbed_official 324:406fd2029f23 160 * @brief Enable the clock for DMAMUX module.
mbed_official 324:406fd2029f23 161 *
mbed_official 324:406fd2029f23 162 * This function enables the clock for DMAMUX moudle.
mbed_official 324:406fd2029f23 163 *
mbed_official 324:406fd2029f23 164 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 165 * @param instance module device instance
mbed_official 324:406fd2029f23 166 */
mbed_official 324:406fd2029f23 167 void SIM_HAL_EnableDmamuxClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 168
mbed_official 324:406fd2029f23 169 /*!
mbed_official 324:406fd2029f23 170 * @brief Disable the clock for DMAMUX module.
mbed_official 324:406fd2029f23 171 *
mbed_official 324:406fd2029f23 172 * This function disables the clock for DMAMUX moudle.
mbed_official 324:406fd2029f23 173 *
mbed_official 324:406fd2029f23 174 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 175 * @param instance module device instance
mbed_official 324:406fd2029f23 176 */
mbed_official 324:406fd2029f23 177 void SIM_HAL_DisableDmamuxClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 178
mbed_official 324:406fd2029f23 179 /*!
mbed_official 324:406fd2029f23 180 * @brief Get the the clock gate state for DMAMUX module.
mbed_official 324:406fd2029f23 181 *
mbed_official 324:406fd2029f23 182 * This function will get the clock gate state for DMAMUX moudle.
mbed_official 324:406fd2029f23 183 *
mbed_official 324:406fd2029f23 184 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 185 * @param instance module device instance
mbed_official 324:406fd2029f23 186 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 187 */
mbed_official 324:406fd2029f23 188 bool SIM_HAL_GetDmamuxGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 189
mbed_official 324:406fd2029f23 190 /*!
mbed_official 324:406fd2029f23 191 * @brief Enable the clock for PORT module.
mbed_official 324:406fd2029f23 192 *
mbed_official 324:406fd2029f23 193 * This function enables the clock for PORT moudle.
mbed_official 324:406fd2029f23 194 *
mbed_official 324:406fd2029f23 195 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 196 * @param instance module device instance
mbed_official 324:406fd2029f23 197 */
mbed_official 324:406fd2029f23 198 void SIM_HAL_EnablePortClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 199
mbed_official 324:406fd2029f23 200 /*!
mbed_official 324:406fd2029f23 201 * @brief Disable the clock for PORT module.
mbed_official 324:406fd2029f23 202 *
mbed_official 324:406fd2029f23 203 * This function disables the clock for PORT moudle.
mbed_official 324:406fd2029f23 204 *
mbed_official 324:406fd2029f23 205 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 206 * @param instance module device instance
mbed_official 324:406fd2029f23 207 */
mbed_official 324:406fd2029f23 208 void SIM_HAL_DisablePortClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 209
mbed_official 324:406fd2029f23 210 /*!
mbed_official 324:406fd2029f23 211 * @brief Get the the clock gate state for PORT module.
mbed_official 324:406fd2029f23 212 *
mbed_official 324:406fd2029f23 213 * This function will get the clock gate state for PORT moudle.
mbed_official 324:406fd2029f23 214 *
mbed_official 324:406fd2029f23 215 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 216 * @param instance module device instance
mbed_official 324:406fd2029f23 217 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 218 */
mbed_official 324:406fd2029f23 219 bool SIM_HAL_GetPortGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 220
mbed_official 324:406fd2029f23 221 /*!
mbed_official 324:406fd2029f23 222 * @brief Enable the clock for MPU module.
mbed_official 324:406fd2029f23 223 *
mbed_official 324:406fd2029f23 224 * This function enables the clock for MPU moudle.
mbed_official 324:406fd2029f23 225 *
mbed_official 324:406fd2029f23 226 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 227 * @param instance module device instance
mbed_official 324:406fd2029f23 228 */
mbed_official 324:406fd2029f23 229 void SIM_HAL_EnableMpuClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 230
mbed_official 324:406fd2029f23 231 /*!
mbed_official 324:406fd2029f23 232 * @brief Disable the clock for MPU module.
mbed_official 324:406fd2029f23 233 *
mbed_official 324:406fd2029f23 234 * This function disables the clock for MPU moudle.
mbed_official 324:406fd2029f23 235 *
mbed_official 324:406fd2029f23 236 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 237 * @param instance module device instance
mbed_official 324:406fd2029f23 238 */
mbed_official 324:406fd2029f23 239 void SIM_HAL_DisableMpuClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 240
mbed_official 324:406fd2029f23 241 /*!
mbed_official 324:406fd2029f23 242 * @brief Get the the clock gate state for MPU module.
mbed_official 324:406fd2029f23 243 *
mbed_official 324:406fd2029f23 244 * This function will get the clock gate state for MPU moudle.
mbed_official 324:406fd2029f23 245 *
mbed_official 324:406fd2029f23 246 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 247 * @param instance module device instance
mbed_official 324:406fd2029f23 248 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 249 */
mbed_official 324:406fd2029f23 250 bool SIM_HAL_GetMpuGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 251
mbed_official 324:406fd2029f23 252 /*!
mbed_official 324:406fd2029f23 253 * @brief Enable the clock for EWM module.
mbed_official 324:406fd2029f23 254 *
mbed_official 324:406fd2029f23 255 * This function enables the clock for EWM moudle.
mbed_official 324:406fd2029f23 256 *
mbed_official 324:406fd2029f23 257 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 258 * @param instance module device instance
mbed_official 324:406fd2029f23 259 */
mbed_official 324:406fd2029f23 260 void SIM_HAL_EnableEwmClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 261
mbed_official 324:406fd2029f23 262 /*!
mbed_official 324:406fd2029f23 263 * @brief Disable the clock for EWM module.
mbed_official 324:406fd2029f23 264 *
mbed_official 324:406fd2029f23 265 * This function disables the clock for EWM moudle.
mbed_official 324:406fd2029f23 266 *
mbed_official 324:406fd2029f23 267 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 268 * @param instance module device instance
mbed_official 324:406fd2029f23 269 */
mbed_official 324:406fd2029f23 270 void SIM_HAL_DisableEwmClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 271
mbed_official 324:406fd2029f23 272 /*!
mbed_official 324:406fd2029f23 273 * @brief Get the the clock gate state for EWM module.
mbed_official 324:406fd2029f23 274 *
mbed_official 324:406fd2029f23 275 * This function will get the clock gate state for EWM moudle.
mbed_official 324:406fd2029f23 276 *
mbed_official 324:406fd2029f23 277 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 278 * @param instance module device instance
mbed_official 324:406fd2029f23 279 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 280 */
mbed_official 324:406fd2029f23 281 bool SIM_HAL_GetEwmGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 282
mbed_official 324:406fd2029f23 283 /*!
mbed_official 324:406fd2029f23 284 * @brief Enable the clock for FLEXBUS module.
mbed_official 324:406fd2029f23 285 *
mbed_official 324:406fd2029f23 286 * This function enables the clock for FLEXBUS moudle.
mbed_official 324:406fd2029f23 287 *
mbed_official 324:406fd2029f23 288 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 289 * @param instance module device instance
mbed_official 324:406fd2029f23 290 */
mbed_official 324:406fd2029f23 291 void SIM_HAL_EnableFlexbusClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 292
mbed_official 324:406fd2029f23 293 /*!
mbed_official 324:406fd2029f23 294 * @brief Disable the clock for FLEXBUS module.
mbed_official 324:406fd2029f23 295 *
mbed_official 324:406fd2029f23 296 * This function disables the clock for FLEXBUS moudle.
mbed_official 324:406fd2029f23 297 *
mbed_official 324:406fd2029f23 298 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 299 * @param instance module device instance
mbed_official 324:406fd2029f23 300 */
mbed_official 324:406fd2029f23 301 void SIM_HAL_DisableFlexbusClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 302
mbed_official 324:406fd2029f23 303 /*!
mbed_official 324:406fd2029f23 304 * @brief Get the the clock gate state for FLEXBUS module.
mbed_official 324:406fd2029f23 305 *
mbed_official 324:406fd2029f23 306 * This function will get the clock gate state for FLEXBUS moudle.
mbed_official 324:406fd2029f23 307 *
mbed_official 324:406fd2029f23 308 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 309 * @param instance module device instance
mbed_official 324:406fd2029f23 310 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 311 */
mbed_official 324:406fd2029f23 312 bool SIM_HAL_GetFlexbusGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 313
mbed_official 324:406fd2029f23 314 /*!
mbed_official 324:406fd2029f23 315 * @brief Enable the clock for FTF module.
mbed_official 324:406fd2029f23 316 *
mbed_official 324:406fd2029f23 317 * This function enables the clock for FTF moudle.
mbed_official 324:406fd2029f23 318 *
mbed_official 324:406fd2029f23 319 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 320 * @param instance module device instance
mbed_official 324:406fd2029f23 321 */
mbed_official 324:406fd2029f23 322 void SIM_HAL_EnableFtfClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 323
mbed_official 324:406fd2029f23 324 /*!
mbed_official 324:406fd2029f23 325 * @brief Disable the clock for FTF module.
mbed_official 324:406fd2029f23 326 *
mbed_official 324:406fd2029f23 327 * This function disables the clock for FTF moudle.
mbed_official 324:406fd2029f23 328 *
mbed_official 324:406fd2029f23 329 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 330 * @param instance module device instance
mbed_official 324:406fd2029f23 331 */
mbed_official 324:406fd2029f23 332 void SIM_HAL_DisableFtfClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 333
mbed_official 324:406fd2029f23 334 /*!
mbed_official 324:406fd2029f23 335 * @brief Get the the clock gate state for FTF module.
mbed_official 324:406fd2029f23 336 *
mbed_official 324:406fd2029f23 337 * This function will get the clock gate state for FTF moudle.
mbed_official 324:406fd2029f23 338 *
mbed_official 324:406fd2029f23 339 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 340 * @param instance module device instance
mbed_official 324:406fd2029f23 341 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 342 */
mbed_official 324:406fd2029f23 343 bool SIM_HAL_GetFtfGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 344
mbed_official 324:406fd2029f23 345 /*!
mbed_official 324:406fd2029f23 346 * @brief Enable the clock for CRC module.
mbed_official 324:406fd2029f23 347 *
mbed_official 324:406fd2029f23 348 * This function enables the clock for CRC moudle.
mbed_official 324:406fd2029f23 349 *
mbed_official 324:406fd2029f23 350 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 351 * @param instance module device instance
mbed_official 324:406fd2029f23 352 */
mbed_official 324:406fd2029f23 353 void SIM_HAL_EnableCrcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 354
mbed_official 324:406fd2029f23 355 /*!
mbed_official 324:406fd2029f23 356 * @brief Disable the clock for CRC module.
mbed_official 324:406fd2029f23 357 *
mbed_official 324:406fd2029f23 358 * This function disables the clock for CRC moudle.
mbed_official 324:406fd2029f23 359 *
mbed_official 324:406fd2029f23 360 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 361 * @param instance module device instance
mbed_official 324:406fd2029f23 362 */
mbed_official 324:406fd2029f23 363 void SIM_HAL_DisableCrcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 364
mbed_official 324:406fd2029f23 365 /*!
mbed_official 324:406fd2029f23 366 * @brief Get the the clock gate state for CRC module.
mbed_official 324:406fd2029f23 367 *
mbed_official 324:406fd2029f23 368 * This function will get the clock gate state for CRC moudle.
mbed_official 324:406fd2029f23 369 *
mbed_official 324:406fd2029f23 370 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 371 * @param instance module device instance
mbed_official 324:406fd2029f23 372 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 373 */
mbed_official 324:406fd2029f23 374 bool SIM_HAL_GetCrcGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 375
mbed_official 324:406fd2029f23 376 /*!
mbed_official 324:406fd2029f23 377 * @brief Enable the clock for RNGA module.
mbed_official 324:406fd2029f23 378 *
mbed_official 324:406fd2029f23 379 * This function enables the clock for RNGA moudle.
mbed_official 324:406fd2029f23 380 *
mbed_official 324:406fd2029f23 381 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 382 * @param instance module device instance
mbed_official 324:406fd2029f23 383 */
mbed_official 324:406fd2029f23 384 void SIM_HAL_EnableRngaClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 385
mbed_official 324:406fd2029f23 386 /*!
mbed_official 324:406fd2029f23 387 * @brief Disable the clock for RNGA module.
mbed_official 324:406fd2029f23 388 *
mbed_official 324:406fd2029f23 389 * This function disables the clock for RNGA moudle.
mbed_official 324:406fd2029f23 390 *
mbed_official 324:406fd2029f23 391 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 392 * @param instance module device instance
mbed_official 324:406fd2029f23 393 */
mbed_official 324:406fd2029f23 394 void SIM_HAL_DisableRngaClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 395
mbed_official 324:406fd2029f23 396 /*!
mbed_official 324:406fd2029f23 397 * @brief Get the the clock gate state for RNGA module.
mbed_official 324:406fd2029f23 398 *
mbed_official 324:406fd2029f23 399 * This function will get the clock gate state for RNGA moudle.
mbed_official 324:406fd2029f23 400 *
mbed_official 324:406fd2029f23 401 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 402 * @param instance module device instance
mbed_official 324:406fd2029f23 403 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 404 */
mbed_official 324:406fd2029f23 405 bool SIM_HAL_GetRngaGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 406
mbed_official 324:406fd2029f23 407 /*!
mbed_official 324:406fd2029f23 408 * @brief Enable the clock for ADC module.
mbed_official 324:406fd2029f23 409 *
mbed_official 324:406fd2029f23 410 * This function enables the clock for ADC moudle.
mbed_official 324:406fd2029f23 411 *
mbed_official 324:406fd2029f23 412 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 413 * @param instance module device instance
mbed_official 324:406fd2029f23 414 */
mbed_official 324:406fd2029f23 415 void SIM_HAL_EnableAdcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 416
mbed_official 324:406fd2029f23 417 /*!
mbed_official 324:406fd2029f23 418 * @brief Disable the clock for ADC module.
mbed_official 324:406fd2029f23 419 *
mbed_official 324:406fd2029f23 420 * This function disables the clock for ADC moudle.
mbed_official 324:406fd2029f23 421 *
mbed_official 324:406fd2029f23 422 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 423 * @param instance module device instance
mbed_official 324:406fd2029f23 424 */
mbed_official 324:406fd2029f23 425 void SIM_HAL_DisableAdcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 426
mbed_official 324:406fd2029f23 427 /*!
mbed_official 324:406fd2029f23 428 * @brief Get the the clock gate state for ADC module.
mbed_official 324:406fd2029f23 429 *
mbed_official 324:406fd2029f23 430 * This function will get the clock gate state for ADC moudle.
mbed_official 324:406fd2029f23 431 *
mbed_official 324:406fd2029f23 432 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 433 * @param instance module device instance
mbed_official 324:406fd2029f23 434 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 435 */
mbed_official 324:406fd2029f23 436 bool SIM_HAL_GetAdcGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 437
mbed_official 324:406fd2029f23 438 /*!
mbed_official 324:406fd2029f23 439 * @brief Enable the clock for CMP module.
mbed_official 324:406fd2029f23 440 *
mbed_official 324:406fd2029f23 441 * This function enables the clock for CMP moudle.
mbed_official 324:406fd2029f23 442 *
mbed_official 324:406fd2029f23 443 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 444 * @param instance module device instance
mbed_official 324:406fd2029f23 445 */
mbed_official 324:406fd2029f23 446 void SIM_HAL_EnableCmpClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 447
mbed_official 324:406fd2029f23 448 /*!
mbed_official 324:406fd2029f23 449 * @brief Disable the clock for CMP module.
mbed_official 324:406fd2029f23 450 *
mbed_official 324:406fd2029f23 451 * This function disables the clock for CMP moudle.
mbed_official 324:406fd2029f23 452 *
mbed_official 324:406fd2029f23 453 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 454 * @param instance module device instance
mbed_official 324:406fd2029f23 455 */
mbed_official 324:406fd2029f23 456 void SIM_HAL_DisableCmpClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 457
mbed_official 324:406fd2029f23 458 /*!
mbed_official 324:406fd2029f23 459 * @brief Get the the clock gate state for CMP module.
mbed_official 324:406fd2029f23 460 *
mbed_official 324:406fd2029f23 461 * This function will get the clock gate state for CMP moudle.
mbed_official 324:406fd2029f23 462 *
mbed_official 324:406fd2029f23 463 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 464 * @param instance module device instance
mbed_official 324:406fd2029f23 465 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 466 */
mbed_official 324:406fd2029f23 467 bool SIM_HAL_GetCmpGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 468
mbed_official 324:406fd2029f23 469 /*!
mbed_official 324:406fd2029f23 470 * @brief Enable the clock for DAC module.
mbed_official 324:406fd2029f23 471 *
mbed_official 324:406fd2029f23 472 * This function enables the clock for DAC moudle.
mbed_official 324:406fd2029f23 473 *
mbed_official 324:406fd2029f23 474 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 475 * @param instance module device instance
mbed_official 324:406fd2029f23 476 */
mbed_official 324:406fd2029f23 477 void SIM_HAL_EnableDacClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 478
mbed_official 324:406fd2029f23 479 /*!
mbed_official 324:406fd2029f23 480 * @brief Disable the clock for DAC module.
mbed_official 324:406fd2029f23 481 *
mbed_official 324:406fd2029f23 482 * This function disables the clock for DAC moudle.
mbed_official 324:406fd2029f23 483 *
mbed_official 324:406fd2029f23 484 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 485 * @param instance module device instance
mbed_official 324:406fd2029f23 486 */
mbed_official 324:406fd2029f23 487 void SIM_HAL_DisableDacClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 488
mbed_official 324:406fd2029f23 489 /*!
mbed_official 324:406fd2029f23 490 * @brief Get the the clock gate state for DAC module.
mbed_official 324:406fd2029f23 491 *
mbed_official 324:406fd2029f23 492 * This function will get the clock gate state for DAC moudle.
mbed_official 324:406fd2029f23 493 *
mbed_official 324:406fd2029f23 494 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 495 * @param instance module device instance
mbed_official 324:406fd2029f23 496 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 497 */
mbed_official 324:406fd2029f23 498 bool SIM_HAL_GetDacGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 499
mbed_official 324:406fd2029f23 500 /*!
mbed_official 324:406fd2029f23 501 * @brief Enable the clock for VREF module.
mbed_official 324:406fd2029f23 502 *
mbed_official 324:406fd2029f23 503 * This function enables the clock for VREF moudle.
mbed_official 324:406fd2029f23 504 *
mbed_official 324:406fd2029f23 505 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 506 * @param instance module device instance
mbed_official 324:406fd2029f23 507 */
mbed_official 324:406fd2029f23 508 void SIM_HAL_EnableVrefClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 509
mbed_official 324:406fd2029f23 510 /*!
mbed_official 324:406fd2029f23 511 * @brief Disable the clock for VREF module.
mbed_official 324:406fd2029f23 512 *
mbed_official 324:406fd2029f23 513 * This function disables the clock for VREF moudle.
mbed_official 324:406fd2029f23 514 *
mbed_official 324:406fd2029f23 515 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 516 * @param instance module device instance
mbed_official 324:406fd2029f23 517 */
mbed_official 324:406fd2029f23 518 void SIM_HAL_DisableVrefClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 519
mbed_official 324:406fd2029f23 520 /*!
mbed_official 324:406fd2029f23 521 * @brief Get the the clock gate state for VREF module.
mbed_official 324:406fd2029f23 522 *
mbed_official 324:406fd2029f23 523 * This function will get the clock gate state for VREF moudle.
mbed_official 324:406fd2029f23 524 *
mbed_official 324:406fd2029f23 525 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 526 * @param instance module device instance
mbed_official 324:406fd2029f23 527 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 528 */
mbed_official 324:406fd2029f23 529 bool SIM_HAL_GetVrefGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 530
mbed_official 324:406fd2029f23 531 /*!
mbed_official 324:406fd2029f23 532 * @brief Enable the clock for SAI module.
mbed_official 324:406fd2029f23 533 *
mbed_official 324:406fd2029f23 534 * This function enables the clock for SAI moudle.
mbed_official 324:406fd2029f23 535 *
mbed_official 324:406fd2029f23 536 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 537 * @param instance module device instance
mbed_official 324:406fd2029f23 538 */
mbed_official 324:406fd2029f23 539 void SIM_HAL_EnableSaiClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 540
mbed_official 324:406fd2029f23 541 /*!
mbed_official 324:406fd2029f23 542 * @brief Disable the clock for SAI module.
mbed_official 324:406fd2029f23 543 *
mbed_official 324:406fd2029f23 544 * This function disables the clock for SAI moudle.
mbed_official 324:406fd2029f23 545 *
mbed_official 324:406fd2029f23 546 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 547 * @param instance module device instance
mbed_official 324:406fd2029f23 548 */
mbed_official 324:406fd2029f23 549 void SIM_HAL_DisableSaiClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 550
mbed_official 324:406fd2029f23 551 /*!
mbed_official 324:406fd2029f23 552 * @brief Get the the clock gate state for SAI module.
mbed_official 324:406fd2029f23 553 *
mbed_official 324:406fd2029f23 554 * This function will get the clock gate state for SAI moudle.
mbed_official 324:406fd2029f23 555 *
mbed_official 324:406fd2029f23 556 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 557 * @param instance module device instance
mbed_official 324:406fd2029f23 558 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 559 */
mbed_official 324:406fd2029f23 560 bool SIM_HAL_GetSaiGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 561
mbed_official 324:406fd2029f23 562 /*!
mbed_official 324:406fd2029f23 563 * @brief Enable the clock for PDB module.
mbed_official 324:406fd2029f23 564 *
mbed_official 324:406fd2029f23 565 * This function enables the clock for PDB moudle.
mbed_official 324:406fd2029f23 566 *
mbed_official 324:406fd2029f23 567 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 568 * @param instance module device instance
mbed_official 324:406fd2029f23 569 */
mbed_official 324:406fd2029f23 570 void SIM_HAL_EnablePdbClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 571
mbed_official 324:406fd2029f23 572 /*!
mbed_official 324:406fd2029f23 573 * @brief Disable the clock for PDB module.
mbed_official 324:406fd2029f23 574 *
mbed_official 324:406fd2029f23 575 * This function disables the clock for PDB moudle.
mbed_official 324:406fd2029f23 576 *
mbed_official 324:406fd2029f23 577 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 578 * @param instance module device instance
mbed_official 324:406fd2029f23 579 */
mbed_official 324:406fd2029f23 580 void SIM_HAL_DisablePdbClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 581
mbed_official 324:406fd2029f23 582 /*!
mbed_official 324:406fd2029f23 583 * @brief Get the the clock gate state for PDB module.
mbed_official 324:406fd2029f23 584 *
mbed_official 324:406fd2029f23 585 * This function will get the clock gate state for PDB moudle.
mbed_official 324:406fd2029f23 586 *
mbed_official 324:406fd2029f23 587 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 588 * @param instance module device instance
mbed_official 324:406fd2029f23 589 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 590 */
mbed_official 324:406fd2029f23 591 bool SIM_HAL_GetPdbGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 592
mbed_official 324:406fd2029f23 593 /*!
mbed_official 324:406fd2029f23 594 * @brief Enable the clock for FTM module.
mbed_official 324:406fd2029f23 595 *
mbed_official 324:406fd2029f23 596 * This function enables the clock for FTM moudle.
mbed_official 324:406fd2029f23 597 *
mbed_official 324:406fd2029f23 598 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 599 * @param instance module device instance
mbed_official 324:406fd2029f23 600 */
mbed_official 324:406fd2029f23 601 void SIM_HAL_EnableFtmClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 602
mbed_official 324:406fd2029f23 603 /*!
mbed_official 324:406fd2029f23 604 * @brief Disable the clock for FTM module.
mbed_official 324:406fd2029f23 605 *
mbed_official 324:406fd2029f23 606 * This function disables the clock for FTM moudle.
mbed_official 324:406fd2029f23 607 *
mbed_official 324:406fd2029f23 608 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 609 * @param instance module device instance
mbed_official 324:406fd2029f23 610 */
mbed_official 324:406fd2029f23 611 void SIM_HAL_DisableFtmClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 612
mbed_official 324:406fd2029f23 613 /*!
mbed_official 324:406fd2029f23 614 * @brief Get the the clock gate state for FTM module.
mbed_official 324:406fd2029f23 615 *
mbed_official 324:406fd2029f23 616 * This function will get the clock gate state for FTM moudle.
mbed_official 324:406fd2029f23 617 *
mbed_official 324:406fd2029f23 618 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 619 * @param instance module device instance
mbed_official 324:406fd2029f23 620 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 621 */
mbed_official 324:406fd2029f23 622 bool SIM_HAL_GetFtmGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 623
mbed_official 324:406fd2029f23 624 /*!
mbed_official 324:406fd2029f23 625 * @brief Enable the clock for PIT module.
mbed_official 324:406fd2029f23 626 *
mbed_official 324:406fd2029f23 627 * This function enables the clock for PIT moudle.
mbed_official 324:406fd2029f23 628 *
mbed_official 324:406fd2029f23 629 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 630 * @param instance module device instance
mbed_official 324:406fd2029f23 631 */
mbed_official 324:406fd2029f23 632 void SIM_HAL_EnablePitClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 633
mbed_official 324:406fd2029f23 634 /*!
mbed_official 324:406fd2029f23 635 * @brief Disable the clock for PIT module.
mbed_official 324:406fd2029f23 636 *
mbed_official 324:406fd2029f23 637 * This function disables the clock for PIT moudle.
mbed_official 324:406fd2029f23 638 *
mbed_official 324:406fd2029f23 639 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 640 * @param instance module device instance
mbed_official 324:406fd2029f23 641 */
mbed_official 324:406fd2029f23 642 void SIM_HAL_DisablePitClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 643
mbed_official 324:406fd2029f23 644 /*!
mbed_official 324:406fd2029f23 645 * @brief Get the the clock gate state for PIT module.
mbed_official 324:406fd2029f23 646 *
mbed_official 324:406fd2029f23 647 * This function will get the clock gate state for PIT moudle.
mbed_official 324:406fd2029f23 648 *
mbed_official 324:406fd2029f23 649 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 650 * @param instance module device instance
mbed_official 324:406fd2029f23 651 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 652 */
mbed_official 324:406fd2029f23 653 bool SIM_HAL_GetPitGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 654
mbed_official 324:406fd2029f23 655 /*!
mbed_official 324:406fd2029f23 656 * @brief Enable the clock for LPTIMER module.
mbed_official 324:406fd2029f23 657 *
mbed_official 324:406fd2029f23 658 * This function enables the clock for LPTIMER moudle.
mbed_official 324:406fd2029f23 659 *
mbed_official 324:406fd2029f23 660 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 661 * @param instance module device instance
mbed_official 324:406fd2029f23 662 */
mbed_official 324:406fd2029f23 663 void SIM_HAL_EnableLptimerClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 664
mbed_official 324:406fd2029f23 665 /*!
mbed_official 324:406fd2029f23 666 * @brief Disable the clock for LPTIMER module.
mbed_official 324:406fd2029f23 667 *
mbed_official 324:406fd2029f23 668 * This function disables the clock for LPTIMER moudle.
mbed_official 324:406fd2029f23 669 *
mbed_official 324:406fd2029f23 670 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 671 * @param instance module device instance
mbed_official 324:406fd2029f23 672 */
mbed_official 324:406fd2029f23 673 void SIM_HAL_DisableLptimerClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 674
mbed_official 324:406fd2029f23 675 /*!
mbed_official 324:406fd2029f23 676 * @brief Get the the clock gate state for LPTIMER module.
mbed_official 324:406fd2029f23 677 *
mbed_official 324:406fd2029f23 678 * This function will get the clock gate state for LPTIMER moudle.
mbed_official 324:406fd2029f23 679 *
mbed_official 324:406fd2029f23 680 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 681 * @param instance module device instance
mbed_official 324:406fd2029f23 682 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 683 */
mbed_official 324:406fd2029f23 684 bool SIM_HAL_GetLptimerGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 685
mbed_official 324:406fd2029f23 686 /*!
mbed_official 324:406fd2029f23 687 * @brief Enable the clock for CMT module.
mbed_official 324:406fd2029f23 688 *
mbed_official 324:406fd2029f23 689 * This function enables the clock for CMT moudle.
mbed_official 324:406fd2029f23 690 *
mbed_official 324:406fd2029f23 691 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 692 * @param instance module device instance
mbed_official 324:406fd2029f23 693 */
mbed_official 324:406fd2029f23 694 void SIM_HAL_EnableCmtClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 695
mbed_official 324:406fd2029f23 696 /*!
mbed_official 324:406fd2029f23 697 * @brief Disable the clock for CMT module.
mbed_official 324:406fd2029f23 698 *
mbed_official 324:406fd2029f23 699 * This function disables the clock for CMT moudle.
mbed_official 324:406fd2029f23 700 *
mbed_official 324:406fd2029f23 701 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 702 * @param instance module device instance
mbed_official 324:406fd2029f23 703 */
mbed_official 324:406fd2029f23 704 void SIM_HAL_DisableCmtClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 705
mbed_official 324:406fd2029f23 706 /*!
mbed_official 324:406fd2029f23 707 * @brief Get the the clock gate state for CMT module.
mbed_official 324:406fd2029f23 708 *
mbed_official 324:406fd2029f23 709 * This function will get the clock gate state for CMT moudle.
mbed_official 324:406fd2029f23 710 *
mbed_official 324:406fd2029f23 711 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 712 * @param instance module device instance
mbed_official 324:406fd2029f23 713 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 714 */
mbed_official 324:406fd2029f23 715 bool SIM_HAL_GetCmtGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 716
mbed_official 324:406fd2029f23 717 /*!
mbed_official 324:406fd2029f23 718 * @brief Enable the clock for RTC module.
mbed_official 324:406fd2029f23 719 *
mbed_official 324:406fd2029f23 720 * This function enables the clock for RTC moudle.
mbed_official 324:406fd2029f23 721 *
mbed_official 324:406fd2029f23 722 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 723 * @param instance module device instance
mbed_official 324:406fd2029f23 724 */
mbed_official 324:406fd2029f23 725 void SIM_HAL_EnableRtcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 726
mbed_official 324:406fd2029f23 727 /*!
mbed_official 324:406fd2029f23 728 * @brief Disable the clock for RTC module.
mbed_official 324:406fd2029f23 729 *
mbed_official 324:406fd2029f23 730 * This function disables the clock for RTC moudle.
mbed_official 324:406fd2029f23 731 *
mbed_official 324:406fd2029f23 732 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 733 * @param instance module device instance
mbed_official 324:406fd2029f23 734 */
mbed_official 324:406fd2029f23 735 void SIM_HAL_DisableRtcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 736
mbed_official 324:406fd2029f23 737 /*!
mbed_official 324:406fd2029f23 738 * @brief Get the the clock gate state for RTC module.
mbed_official 324:406fd2029f23 739 *
mbed_official 324:406fd2029f23 740 * This function will get the clock gate state for RTC moudle.
mbed_official 324:406fd2029f23 741 *
mbed_official 324:406fd2029f23 742 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 743 * @param instance module device instance
mbed_official 324:406fd2029f23 744 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 745 */
mbed_official 324:406fd2029f23 746 bool SIM_HAL_GetRtcGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 747
mbed_official 324:406fd2029f23 748 /*!
mbed_official 324:406fd2029f23 749 * @brief Enable the clock for ENET module.
mbed_official 324:406fd2029f23 750 *
mbed_official 324:406fd2029f23 751 * This function enables the clock for ENET moudle.
mbed_official 324:406fd2029f23 752 *
mbed_official 324:406fd2029f23 753 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 754 * @param instance module device instance
mbed_official 324:406fd2029f23 755 */
mbed_official 324:406fd2029f23 756 void SIM_HAL_EnableEnetClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 757
mbed_official 324:406fd2029f23 758 /*!
mbed_official 324:406fd2029f23 759 * @brief Disable the clock for ENET module.
mbed_official 324:406fd2029f23 760 *
mbed_official 324:406fd2029f23 761 * This function disables the clock for ENET moudle.
mbed_official 324:406fd2029f23 762 *
mbed_official 324:406fd2029f23 763 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 764 * @param instance module device instance
mbed_official 324:406fd2029f23 765 */
mbed_official 324:406fd2029f23 766 void SIM_HAL_DisableEnetClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 767
mbed_official 324:406fd2029f23 768 /*!
mbed_official 324:406fd2029f23 769 * @brief Get the the clock gate state for ENET module.
mbed_official 324:406fd2029f23 770 *
mbed_official 324:406fd2029f23 771 * This function will get the clock gate state for ENET moudle.
mbed_official 324:406fd2029f23 772 *
mbed_official 324:406fd2029f23 773 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 774 * @param instance module device instance
mbed_official 324:406fd2029f23 775 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 776 */
mbed_official 324:406fd2029f23 777 bool SIM_HAL_GetEnetGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 778
mbed_official 324:406fd2029f23 779 /*!
mbed_official 324:406fd2029f23 780 * @brief Enable the clock for USBFS module.
mbed_official 324:406fd2029f23 781 *
mbed_official 324:406fd2029f23 782 * This function enables the clock for USBFS moudle.
mbed_official 324:406fd2029f23 783 *
mbed_official 324:406fd2029f23 784 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 785 * @param instance module device instance
mbed_official 324:406fd2029f23 786 */
mbed_official 324:406fd2029f23 787 void SIM_HAL_EnableUsbClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 788
mbed_official 324:406fd2029f23 789 /*!
mbed_official 324:406fd2029f23 790 * @brief Disable the clock for USBFS module.
mbed_official 324:406fd2029f23 791 *
mbed_official 324:406fd2029f23 792 * This function disables the clock for USBFS moudle.
mbed_official 324:406fd2029f23 793 *
mbed_official 324:406fd2029f23 794 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 795 * @param instance module device instance
mbed_official 324:406fd2029f23 796 */
mbed_official 324:406fd2029f23 797 void SIM_HAL_DisableUsbClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 798
mbed_official 324:406fd2029f23 799 /*!
mbed_official 324:406fd2029f23 800 * @brief Get the the clock gate state for USB module.
mbed_official 324:406fd2029f23 801 *
mbed_official 324:406fd2029f23 802 * This function will get the clock gate state for USB moudle.
mbed_official 324:406fd2029f23 803 *
mbed_official 324:406fd2029f23 804 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 805 * @param instance module device instance
mbed_official 324:406fd2029f23 806 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 807 */
mbed_official 324:406fd2029f23 808 bool SIM_HAL_GetUsbGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 809
mbed_official 324:406fd2029f23 810 /*!
mbed_official 324:406fd2029f23 811 * @brief Enable the clock for USBDCD module.
mbed_official 324:406fd2029f23 812 *
mbed_official 324:406fd2029f23 813 * This function enables the clock for USBDCD moudle.
mbed_official 324:406fd2029f23 814 *
mbed_official 324:406fd2029f23 815 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 816 * @param instance module device instance
mbed_official 324:406fd2029f23 817 */
mbed_official 324:406fd2029f23 818 void SIM_HAL_EnableUsbdcdClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 819
mbed_official 324:406fd2029f23 820 /*!
mbed_official 324:406fd2029f23 821 * @brief Disable the clock for USBDCD module.
mbed_official 324:406fd2029f23 822 *
mbed_official 324:406fd2029f23 823 * This function disables the clock for USBDCD moudle.
mbed_official 324:406fd2029f23 824 *
mbed_official 324:406fd2029f23 825 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 826 * @param instance module device instance
mbed_official 324:406fd2029f23 827 */
mbed_official 324:406fd2029f23 828 void SIM_HAL_DisableUsbdcdClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 829
mbed_official 324:406fd2029f23 830 /*!
mbed_official 324:406fd2029f23 831 * @brief Get the the clock gate state for USBDCD module.
mbed_official 324:406fd2029f23 832 *
mbed_official 324:406fd2029f23 833 * This function will get the clock gate state for USBDCD moudle.
mbed_official 324:406fd2029f23 834 *
mbed_official 324:406fd2029f23 835 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 836 * @param instance module device instance
mbed_official 324:406fd2029f23 837 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 838 */
mbed_official 324:406fd2029f23 839 bool SIM_HAL_GetUsbdcdGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 840
mbed_official 324:406fd2029f23 841 /*!
mbed_official 324:406fd2029f23 842 * @brief Enable the clock for FLEXCAN module.
mbed_official 324:406fd2029f23 843 *
mbed_official 324:406fd2029f23 844 * This function enables the clock for FLEXCAN moudle.
mbed_official 324:406fd2029f23 845 *
mbed_official 324:406fd2029f23 846 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 847 * @param instance module device instance
mbed_official 324:406fd2029f23 848 */
mbed_official 324:406fd2029f23 849 void SIM_HAL_EnableFlexcanClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 850
mbed_official 324:406fd2029f23 851 /*!
mbed_official 324:406fd2029f23 852 * @brief Disable the clock for FLEXCAN module.
mbed_official 324:406fd2029f23 853 *
mbed_official 324:406fd2029f23 854 * This function disables the clock for FLEXCAN moudle.
mbed_official 324:406fd2029f23 855 *
mbed_official 324:406fd2029f23 856 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 857 * @param instance module device instance
mbed_official 324:406fd2029f23 858 */
mbed_official 324:406fd2029f23 859 void SIM_HAL_DisableFlexcanClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 860
mbed_official 324:406fd2029f23 861 /*!
mbed_official 324:406fd2029f23 862 * @brief Get the the clock gate state for FLEXCAN module.
mbed_official 324:406fd2029f23 863 *
mbed_official 324:406fd2029f23 864 * This function will get the clock gate state for FLEXCAN moudle.
mbed_official 324:406fd2029f23 865 *
mbed_official 324:406fd2029f23 866 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 867 * @param instance module device instance
mbed_official 324:406fd2029f23 868 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 869 */
mbed_official 324:406fd2029f23 870 bool SIM_HAL_GetFlexcanGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 871
mbed_official 324:406fd2029f23 872 /*!
mbed_official 324:406fd2029f23 873 * @brief Enable the clock for SPI module.
mbed_official 324:406fd2029f23 874 *
mbed_official 324:406fd2029f23 875 * This function enables the clock for SPI moudle.
mbed_official 324:406fd2029f23 876 *
mbed_official 324:406fd2029f23 877 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 878 * @param instance module device instance
mbed_official 324:406fd2029f23 879 */
mbed_official 324:406fd2029f23 880 void SIM_HAL_EnableSpiClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 881
mbed_official 324:406fd2029f23 882 /*!
mbed_official 324:406fd2029f23 883 * @brief Disable the clock for SPI module.
mbed_official 324:406fd2029f23 884 *
mbed_official 324:406fd2029f23 885 * This function disables the clock for SPI moudle.
mbed_official 324:406fd2029f23 886 *
mbed_official 324:406fd2029f23 887 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 888 * @param instance module device instance
mbed_official 324:406fd2029f23 889 */
mbed_official 324:406fd2029f23 890 void SIM_HAL_DisableSpiClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 891
mbed_official 324:406fd2029f23 892 /*!
mbed_official 324:406fd2029f23 893 * @brief Get the the clock gate state for SPI module.
mbed_official 324:406fd2029f23 894 *
mbed_official 324:406fd2029f23 895 * This function will get the clock gate state for SPI moudle.
mbed_official 324:406fd2029f23 896 *
mbed_official 324:406fd2029f23 897 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 898 * @param instance module device instance
mbed_official 324:406fd2029f23 899 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 900 */
mbed_official 324:406fd2029f23 901 bool SIM_HAL_GetSpiGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 902
mbed_official 324:406fd2029f23 903 /*!
mbed_official 324:406fd2029f23 904 * @brief Enable the clock for I2C module.
mbed_official 324:406fd2029f23 905 *
mbed_official 324:406fd2029f23 906 * This function enables the clock for I2C moudle.
mbed_official 324:406fd2029f23 907 *
mbed_official 324:406fd2029f23 908 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 909 * @param instance module device instance
mbed_official 324:406fd2029f23 910 */
mbed_official 324:406fd2029f23 911 void SIM_HAL_EnableI2cClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 912
mbed_official 324:406fd2029f23 913 /*!
mbed_official 324:406fd2029f23 914 * @brief Disable the clock for I2C module.
mbed_official 324:406fd2029f23 915 *
mbed_official 324:406fd2029f23 916 * This function disables the clock for I2C moudle.
mbed_official 324:406fd2029f23 917 *
mbed_official 324:406fd2029f23 918 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 919 * @param instance module device instance
mbed_official 324:406fd2029f23 920 */
mbed_official 324:406fd2029f23 921 void SIM_HAL_DisableI2cClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 922
mbed_official 324:406fd2029f23 923 /*!
mbed_official 324:406fd2029f23 924 * @brief Get the the clock gate state for I2C module.
mbed_official 324:406fd2029f23 925 *
mbed_official 324:406fd2029f23 926 * This function will get the clock gate state for I2C moudle.
mbed_official 324:406fd2029f23 927 *
mbed_official 324:406fd2029f23 928 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 929 * @param instance module device instance
mbed_official 324:406fd2029f23 930 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 931 */
mbed_official 324:406fd2029f23 932 bool SIM_HAL_GetI2cGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 933
mbed_official 324:406fd2029f23 934 /*!
mbed_official 324:406fd2029f23 935 * @brief Enable the clock for UART module.
mbed_official 324:406fd2029f23 936 *
mbed_official 324:406fd2029f23 937 * This function enables the clock for UART moudle.
mbed_official 324:406fd2029f23 938 *
mbed_official 324:406fd2029f23 939 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 940 * @param instance module device instance
mbed_official 324:406fd2029f23 941 */
mbed_official 324:406fd2029f23 942 void SIM_HAL_EnableUartClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 943
mbed_official 324:406fd2029f23 944 /*!
mbed_official 324:406fd2029f23 945 * @brief Disable the clock for UART module.
mbed_official 324:406fd2029f23 946 *
mbed_official 324:406fd2029f23 947 * This function disables the clock for UART moudle.
mbed_official 324:406fd2029f23 948 *
mbed_official 324:406fd2029f23 949 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 950 * @param instance module device instance
mbed_official 324:406fd2029f23 951 */
mbed_official 324:406fd2029f23 952 void SIM_HAL_DisableUartClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 953
mbed_official 324:406fd2029f23 954 /*!
mbed_official 324:406fd2029f23 955 * @brief Get the the clock gate state for UART module.
mbed_official 324:406fd2029f23 956 *
mbed_official 324:406fd2029f23 957 * This function will get the clock gate state for UART moudle.
mbed_official 324:406fd2029f23 958 *
mbed_official 324:406fd2029f23 959 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 960 * @param instance module device instance
mbed_official 324:406fd2029f23 961 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 962 */
mbed_official 324:406fd2029f23 963 bool SIM_HAL_GetUartGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 964
mbed_official 324:406fd2029f23 965 /*!
mbed_official 324:406fd2029f23 966 * @brief Enable the clock for SDHC module.
mbed_official 324:406fd2029f23 967 *
mbed_official 324:406fd2029f23 968 * This function enables the clock for SDHC moudle.
mbed_official 324:406fd2029f23 969 *
mbed_official 324:406fd2029f23 970 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 971 * @param instance module device instance
mbed_official 324:406fd2029f23 972 */
mbed_official 324:406fd2029f23 973 void SIM_HAL_EnableSdhcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 974
mbed_official 324:406fd2029f23 975 /*!
mbed_official 324:406fd2029f23 976 * @brief Disable the clock for SDHC module.
mbed_official 324:406fd2029f23 977 *
mbed_official 324:406fd2029f23 978 * This function disables the clock for SDHC moudle.
mbed_official 324:406fd2029f23 979 *
mbed_official 324:406fd2029f23 980 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 981 * @param instance module device instance
mbed_official 324:406fd2029f23 982 */
mbed_official 324:406fd2029f23 983 void SIM_HAL_DisableSdhcClock(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 984
mbed_official 324:406fd2029f23 985 /*!
mbed_official 324:406fd2029f23 986 * @brief Get the the clock gate state for SDHC module.
mbed_official 324:406fd2029f23 987 *
mbed_official 324:406fd2029f23 988 * This function will get the clock gate state for SDHC moudle.
mbed_official 324:406fd2029f23 989 *
mbed_official 324:406fd2029f23 990 * @param baseAddr Base address for current SIM instance.
mbed_official 324:406fd2029f23 991 * @param instance module device instance
mbed_official 324:406fd2029f23 992 * @return state true - ungated(Enabled), false - gated (Disabled)
mbed_official 324:406fd2029f23 993 */
mbed_official 324:406fd2029f23 994 bool SIM_HAL_GetSdhcGateCmd(uint32_t baseAddr, uint32_t instance);
mbed_official 324:406fd2029f23 995
mbed_official 324:406fd2029f23 996 /*@}*/
mbed_official 324:406fd2029f23 997
mbed_official 324:406fd2029f23 998 #if defined(__cplusplus)
mbed_official 324:406fd2029f23 999 }
mbed_official 324:406fd2029f23 1000 #endif /* __cplusplus*/
mbed_official 324:406fd2029f23 1001
mbed_official 324:406fd2029f23 1002
mbed_official 324:406fd2029f23 1003 /*! @}*/
mbed_official 324:406fd2029f23 1004
mbed_official 324:406fd2029f23 1005 #endif /* __FSL_SIM_HAL_K64F12_H__*/
mbed_official 324:406fd2029f23 1006 /*******************************************************************************
mbed_official 324:406fd2029f23 1007 * EOF
mbed_official 324:406fd2029f23 1008 ******************************************************************************/
mbed_official 324:406fd2029f23 1009