Kinetis SDK v.1.3 API Reference Manual  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
fsl_osc_hal.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <assert.h>
#include "fsl_device_registers.h"

Enumerations

enum  osc_capacitor_config_t {
  kOscCapacitor2p = OSC_CR_SC2P_MASK,
  kOscCapacitor4p = OSC_CR_SC4P_MASK,
  kOscCapacitor8p = OSC_CR_SC8P_MASK,
  kOscCapacitor16p = OSC_CR_SC16P_MASK
}
 Oscillator capacitor load configurations. More...
 

Functions

oscillator control APIs
static void OSC_HAL_SetExternalRefClkCmd (OSC_Type *base, bool enable)
 Enables the external reference clock for the oscillator. More...
 
static bool OSC_HAL_GetExternalRefClkCmd (OSC_Type *base)
 Gets the external reference clock enable setting for the oscillator. More...
 
static void OSC_HAL_SetExternalRefClkInStopModeCmd (OSC_Type *base, bool enable)
 Enables/disables the external reference clock in stop mode. More...
 
void OSC_HAL_SetCapacitor (OSC_Type *base, uint32_t bitMask)
 Sets the capacitor configuration for the oscillator. More...