![]() |
Kinetis SDK v.1.3 API Reference Manual
Rev. 0
Freescale Semiconductor, Inc.
|
#include <assert.h>#include <stdint.h>#include <stdbool.h>#include "fsl_device_registers.h"Data Structures | |
| struct | vref_user_config_t |
| The description structure for the VREF module. More... | |
Enumerations | |
| enum | vref_status_t { kStatus_VREF_Success = 0x0U, kStatus_VREF_InvalidArgument = 0x1U, kStatus_VREF_Failed = 0x2U } |
Definitions More... | |
| enum | vref_buffer_mode_t { kVrefModeBandgapOnly = 0x0U, kVrefModeTightRegulationBuffer = 0x2U } |
| VREF modes. More... | |
Functions | |
VREF related feature APIs | |
API | |
| void | VREF_HAL_Init (VREF_Type *base) |
| Initialize VREF module to default state. More... | |
| void | VREF_HAL_Configure (VREF_Type *base, const vref_user_config_t *userConfigPtr) |
| Configure VREF module to known state. More... | |
| static void | VREF_HAL_Enable (VREF_Type *base) |
| Enable VREF module. More... | |
| static void | VREF_HAL_Disable (VREF_Type *base) |
| Disable VREF module. More... | |
| static void | VREF_HAL_SetInternalRegulatorCmd (VREF_Type *base, bool enable) |
| Set VREF internal regulator to Enable. More... | |
| static void | VREF_HAL_SetTrimVal (VREF_Type *base, uint8_t trimValue) |
| Set trim value for voltage reference. More... | |
| static uint8_t | VREF_HAL_GetTrimVal (VREF_Type *base) |
| Read value of trim meaning output voltage. More... | |
| static void | VREF_HAL_WaitVoltageStable (VREF_Type *base) |
| Wait to internal voltage stable. More... | |
| static void | VREF_HAL_SetBufferMode (VREF_Type *base, vref_buffer_mode_t mode) |
| Set buffer mode. More... | |