| Kinetis SDK API Reference Manual 1.0.0-beta Freescale Semiconductor, Inc.

- Introduction
- Related Pages
- API Usage

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros | Enumerations
fsl_osc_hal.h File Reference
OSC HAL driver
`#include <stdint.h>`
`#include <stdbool.h>`
`#include <assert.h>`
`#include "fsl_device_registers.h"`
`#include "fsl_osc_features.h"`

## Macros
#define | kOscCapacitorMask (OSC_CR_SC2P_MASK | OSC_CR_SC4P_MASK | OSC_CR_SC8P_MASK | OSC_CR_SC16P_MASK)
| Oscillator capacitor load configurations mask.

## Enumerations
enum | osc_instance_t { kOsc0 = 0 }
| Oscillator instance. More...
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
void | osc_hal_enable_external_reference_clock (osc_instance_t instance)
| Enables the external reference clock for oscillator. More...
void | osc_hal_disable_external_reference_clock (osc_instance_t instance)
| Disables the external reference clock for oscillator. More...
void | osc_hal_enable_external_reference_clock_in_stop_mode (osc_instance_t instance)
| Enables the external reference clock in stop mode. More...
void | osc_hal_disable_external_reference_clock_in_stop_mode (osc_instance_t instance)
| Disables the external reference clock in stop mode. More...
void | osc_hal_enable_capacitor_config (osc_instance_t instance, uint32_t capacitorConfigs)
| Enables the capacitor configuration for oscillator. More...
void | osc_hal_disable_capacitor_config (osc_instance_t instance, uint32_t capacitorConfigs)
| Disables the capacitor configuration for specific oscillator. More...