ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
ADC1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : ADC1.c
4 ** Project : ISF2P2_K64F_MQX_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : fsl_adc16
7 ** Version : Component 1.2.0, Driver 01.00, CPU db: 3.00.000
8 ** Repository : KSDK 1.2.0
9 ** Compiler : GNU C Compiler
10 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
11 **
12 ** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
13 ** All Rights Reserved.
14 **
15 ** Redistribution and use in source and binary forms, with or without modification,
16 ** are permitted provided that the following conditions are met:
17 **
18 ** o Redistributions of source code must retain the above copyright notice, this list
19 ** of conditions and the following disclaimer.
20 **
21 ** o Redistributions in binary form must reproduce the above copyright notice, this
22 ** list of conditions and the following disclaimer in the documentation and/or
23 ** other materials provided with the distribution.
24 **
25 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
26 ** contributors may be used to endorse or promote products derived from this
27 ** software without specific prior written permission.
28 **
29 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
30 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
31 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
33 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
34 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
35 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
36 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
38 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 **
40 ** http: www.freescale.com
41 ** mail: support@freescale.com
42 ** ###################################################################*/
43 /*!
44 ** @file ADC1.c
45 ** @version 01.00
46 */
47 /*!
48 ** @addtogroup ADC1_module ADC1 module documentation
49 ** @{
50 */
51 
52 /* ADC1. */
53 
54 #include "Events.h"
55 #include "ADC1.h"
56 
57 const adc16_converter_config_t ADC1_InitConfig0 = {
58  .lowPowerEnable = false,
59  .clkDividerMode = kAdc16ClkDividerOf1,
60  .longSampleTimeEnable = false,
61  .resolution = kAdc16ResolutionBitOfSingleEndAs8,
62  .clkSrc = kAdc16ClkSrcOfBusClk,
63  .asyncClkEnable = false,
64  .highSpeedEnable = false,
65  .longSampleCycleMode = kAdc16LongSampleCycleOf24,
66  .hwTriggerEnable = false,
67  .refVoltSrc = kAdc16RefVoltSrcOfVref,
68  .continuousConvEnable = false,
69  .dmaEnable = false,
70 };
71 
72 const adc16_hw_cmp_config_t ADC1_HwConfig0 = {
73  .hwCmpEnable = false,
74  .hwCmpGreaterThanEnable = false,
75  .hwCmpRangeEnable = false,
76  .cmpValue1 = 0U,
77  .cmpValue2 = 0U,
78 };
79 
80 
81 const adc16_chn_config_t ADC1_ChnConfig0 = {
82  .chnIdx = kAdc16Chn4b,
83  .convCompletedIntEnable = false,
84  .diffConvEnable = false
85 };
86 /* END ADC1. */
87 
88 /*!
89 ** @}
90 */
91 /*
92 ** ###################################################################
93 **
94 ** This file was created by Processor Expert 10.5 [05.21]
95 ** for the Freescale Kinetis series of microcontrollers.
96 **
97 ** ###################################################################
98 */
const adc16_hw_cmp_config_t ADC1_HwConfig0
HW compare configuration declaration.
Definition: ADC1.c:72
const adc16_chn_config_t ADC1_ChnConfig0
Channel configuration declaration.
Definition: ADC1.c:81
This is user's event module. Put your event handler code here.
const adc16_converter_config_t ADC1_InitConfig0
ADC configuration declaration.
Definition: ADC1.c:57