MKMxxZxxACxx5 Bare Metal Software Drivers  R4.1.6
Reference Manual
VREF Example

This example shows typical use of the Voltage Reference (VREF) Driver.

Source code:
/******************************************************************************
* (c) Copyright 2010-2015, Freescale Semiconductor Inc.
* ALL RIGHTS RESERVED.
******************************************************************************
* vref_test.c
******************************************************************************/
#include "drivers.h"
void main (void)
{
/* voltage reference sourced from the internal 1.2V bangap reference */
/* voltage reference sourced from the external 1.2V reference */
while(1);
}
Toolchain support:
IAR EWARM 7.40.7CodeWarrior 10.6KEIL uVision 5.15CrossWorks 3.6ATOLLIC TrueStudio 5.3.0Kinetis Design Studio 3.0.0