MKM34Z256VLx7 Bare Metal Software Drivers  R4.1.6
Reference Manual
OSC32K Example

This example shows use OSC32K_Disable(), OSC32K_Enable() and OSC32K_SetLoadCaps() control macros of the RTC 32.0 kHz Oscillator (OSC32K) module.

Source code:
/******************************************************************************
* (c) Copyright 2010-2015, Freescale Semiconductor Inc.
* ALL RIGHTS RESERVED.
******************************************************************************
* osc32k_test.c
******************************************************************************/
#include "drivers.h"
void main (void)
{
/* enable clocks to all on chip peripherals */
/* route RTC 32KHz clock source to PTF7 for monitoring */
/* check control macros */
/* adjust load capacitors */
while(1);
}
Toolchain support:
IAR EWARM 7.40.7KEIL uVision 5.15CrossWorks 3.6ATOLLIC TrueStudio 5.3.0Kinetis Design Studio 3.0.0