adc14.h
Go to the documentation of this file.
1 #ifndef ADC14_H_
2 #define ADC14_H_
3 
4 //*****************************************************************************
5 //
9 //
10 //*****************************************************************************
11 
12 //*****************************************************************************
13 //
14 // If building with a C++ compiler, make all of the definitions in this header
15 // have a C binding.
16 //
17 //*****************************************************************************
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include <stdint.h>
24 #include "register_remap.h"
25 #include <msp432.h>
26 #include <stdbool.h>
27 
28 //*****************************************************************************
29 //
30 // Control specific variables
31 //
32 //*****************************************************************************
33 
34 //*****************************************************************************
35 //
36 //The following are values that can be passed to ADCInit
37 //
38 //*****************************************************************************
39 #define ADC_CLOCKSOURCE_ADCOSC (ADC14_CTL0_SSEL__0)
40 #define ADC_CLOCKSOURCE_SYSOSC (ADC14_CTL0_SSEL__1)
41 #define ADC_CLOCKSOURCE_ACLK (ADC14_CTL0_SSEL__2)
42 #define ADC_CLOCKSOURCE_MCLK (ADC14_CTL0_SSEL__3)
43 #define ADC_CLOCKSOURCE_SMCLK (ADC14_CTL0_SSEL__4)
44 #define ADC_CLOCKSOURCE_HSMCLK (ADC14_CTL0_SSEL__5)
45 
46 #define ADC_PREDIVIDER_1 (ADC14_CTL0_PDIV__0)
47 #define ADC_PREDIVIDER_4 (ADC14_CTL0_PDIV__1)
48 #define ADC_PREDIVIDER_32 (ADC14_CTL0_PDIV__2)
49 #define ADC_PREDIVIDER_64 (ADC14_CTL0_PDIV__3)
50 
51 #define ADC_DIVIDER_1 (ADC14_CTL0_DIV__0)
52 #define ADC_DIVIDER_2 (ADC14_CTL0_DIV__1)
53 #define ADC_DIVIDER_3 (ADC14_CTL0_DIV__2)
54 #define ADC_DIVIDER_4 (ADC14_CTL0_DIV__3)
55 #define ADC_DIVIDER_5 (ADC14_CTL0_DIV__4)
56 #define ADC_DIVIDER_6 (ADC14_CTL0_DIV__5)
57 #define ADC_DIVIDER_7 (ADC14_CTL0_DIV__6)
58 #define ADC_DIVIDER_8 (ADC14_CTL0_DIV__7)
59 
60 #define ADC_MAPINTCH3 (ADC14_CTL1_CH3MAP)
61 #define ADC_MAPINTCH2 (ADC14_CTL1_CH2MAP)
62 #define ADC_MAPINTCH1 (ADC14_CTL1_CH1MAP)
63 #define ADC_MAPINTCH0 (ADC14_CTL1_CH0MAP)
64 #define ADC_TEMPSENSEMAP (ADC14_CTL1_TCMAP)
65 #define ADC_BATTMAP (ADC14_CTL1_BATMAP)
66 #define ADC_NOROUTE 0
67 
68 #define ADC_8BIT ADC14_CTL1_RES__0
69 #define ADC_10BIT ADC14_CTL1_RES__1
70 #define ADC_12BIT ADC14_CTL1_RES__2
71 #define ADC_14BIT ADC14_CTL1_RES__3
72 
73 #define ADC_TRIGGER_ADCSC ADC14_CTL0_SHS__0
74 #define ADC_TRIGGER_SOURCE1 ADC14_CTL0_SHS__1
75 #define ADC_TRIGGER_SOURCE2 ADC14_CTL0_SHS__2
76 #define ADC_TRIGGER_SOURCE3 ADC14_CTL0_SHS__3
77 #define ADC_TRIGGER_SOURCE4 ADC14_CTL0_SHS__4
78 #define ADC_TRIGGER_SOURCE5 ADC14_CTL0_SHS__5
79 #define ADC_TRIGGER_SOURCE6 ADC14_CTL0_SHS__6
80 #define ADC_TRIGGER_SOURCE7 ADC14_CTL0_SHS__7
81 
82 #define ADC_PULSE_WIDTH_4 ADC14_CTL0_SHT1__0
83 #define ADC_PULSE_WIDTH_8 ADC14_CTL0_SHT1__1
84 #define ADC_PULSE_WIDTH_16 ADC14_CTL0_SHT1__2
85 #define ADC_PULSE_WIDTH_32 ADC14_CTL0_SHT1__3
86 #define ADC_PULSE_WIDTH_64 ADC14_CTL0_SHT1__4
87 #define ADC_PULSE_WIDTH_96 ADC14_CTL0_SHT1__5
88 #define ADC_PULSE_WIDTH_128 ADC14_CTL0_SHT1__6
89 #define ADC_PULSE_WIDTH_192 ADC14_CTL0_SHT1__7
90 
91 #define ADC_NONDIFFERENTIAL_INPUTS false
92 #define ADC_DIFFERENTIAL_INPUTS true
93 
94 #define ADC_MEM0 0x00000001
95 #define ADC_MEM1 0x00000002
96 #define ADC_MEM2 0x00000004
97 #define ADC_MEM3 0x00000008
98 #define ADC_MEM4 0x00000010
99 #define ADC_MEM5 0x00000020
100 #define ADC_MEM6 0x00000040
101 #define ADC_MEM7 0x00000080
102 #define ADC_MEM8 0x00000100
103 #define ADC_MEM9 0x00000200
104 #define ADC_MEM10 0x00000400
105 #define ADC_MEM11 0x00000800
106 #define ADC_MEM12 0x00001000
107 #define ADC_MEM13 0x00002000
108 #define ADC_MEM14 0x00004000
109 #define ADC_MEM15 0x00008000
110 #define ADC_MEM16 0x00010000
111 #define ADC_MEM17 0x00020000
112 #define ADC_MEM18 0x00040000
113 #define ADC_MEM19 0x00080000
114 #define ADC_MEM20 0x00100000
115 #define ADC_MEM21 0x00200000
116 #define ADC_MEM22 0x00400000
117 #define ADC_MEM23 0x00800000
118 #define ADC_MEM24 0x01000000
119 #define ADC_MEM25 0x02000000
120 #define ADC_MEM26 0x04000000
121 #define ADC_MEM27 0x08000000
122 #define ADC_MEM28 0x10000000
123 #define ADC_MEM29 0x20000000
124 #define ADC_MEM30 0x40000000
125 #define ADC_MEM31 0x80000000
126 
127 #define ADC_VREFPOS_AVCC_VREFNEG_VSS (ADC14_MCTL_VRSEL__0)
128 #define ADC_VREFPOS_INTBUF_VREFNEG_VSS (ADC14_MCTL_VRSEL__1)
129 #define ADC_VREFPOS_EXTPOS_VREFNEG_EXTNEG (ADC14_MCTL_VRSEL__14)
130 #define ADC_VREFPOS_EXTBUF_VREFNEG_EXTNEG (ADC14_MCTL_VRSEL__15)
131 
132 #define ADC_INPUT_A0 (ADC14_MCTL_INCH__0)
133 #define ADC_INPUT_A1 (ADC14_MCTL_INCH__1)
134 #define ADC_INPUT_A2 (ADC14_MCTL_INCH__2)
135 #define ADC_INPUT_A3 (ADC14_MCTL_INCH__3)
136 #define ADC_INPUT_A4 (ADC14_MCTL_INCH__4)
137 #define ADC_INPUT_A5 (ADC14_MCTL_INCH__5)
138 #define ADC_INPUT_A6 (ADC14_MCTL_INCH__6)
139 #define ADC_INPUT_A7 (ADC14_MCTL_INCH__7)
140 #define ADC_INPUT_A8 (ADC14_MCTL_INCH__8)
141 #define ADC_INPUT_A9 (ADC14_MCTL_INCH__9)
142 #define ADC_INPUT_A10 (ADC14_MCTL_INCH__10)
143 #define ADC_INPUT_A11 (ADC14_MCTL_INCH__11)
144 #define ADC_INPUT_A12 (ADC14_MCTL_INCH__12)
145 #define ADC_INPUT_A13 (ADC14_MCTL_INCH__13)
146 #define ADC_INPUT_A14 (ADC14_MCTL_INCH__14)
147 #define ADC_INPUT_A15 (ADC14_MCTL_INCH__15)
148 #define ADC_INPUT_A16 (ADC14_MCTL_INCH__16)
149 #define ADC_INPUT_A17 (ADC14_MCTL_INCH__17)
150 #define ADC_INPUT_A18 (ADC14_MCTL_INCH__18)
151 #define ADC_INPUT_A19 (ADC14_MCTL_INCH__19)
152 #define ADC_INPUT_A20 (ADC14_MCTL_INCH__20)
153 #define ADC_INPUT_A21 (ADC14_MCTL_INCH__21)
154 #define ADC_INPUT_A22 (ADC14_MCTL_INCH__22)
155 #define ADC_INPUT_A23 (ADC14_MCTL_INCH__23)
156 #define ADC_INPUT_A24 (ADC14_MCTL_INCH__24)
157 #define ADC_INPUT_A25 (ADC14_MCTL_INCH__25)
158 #define ADC_INPUT_A26 (ADC14_MCTL_INCH__26)
159 #define ADC_INPUT_A27 (ADC14_MCTL_INCH__27)
160 #define ADC_INPUT_A28 (ADC14_MCTL_INCH__28)
161 #define ADC_INPUT_A29 (ADC14_MCTL_INCH__29)
162 #define ADC_INPUT_A30 (ADC14_MCTL_INCH__30)
163 #define ADC_INPUT_A31 (ADC14_MCTL_INCH__31)
164 
165 #define ADC_COMP_WINDOW0 0x00
166 #define ADC_COMP_WINDOW1 0x01
167 
168 #define ADC_SIGNED_BINARY 0x00
169 #define ADC_UNSIGNED_BINARY 0x01
170 
171 #define ADC_MANUAL_ITERATION 0x00
172 #define ADC_AUTOMATIC_ITERATION ADC14_CTL0_MSC
173 
174 #define ADC_UNRESTRICTED_POWER_MODE ADC14_CTL1_PWRMD__0
175 #define ADC_ULTRA_LOW_POWER_MODE ADC14_CTL1_PWRMD__2
176 
177 
178 #define ADC_INT0 ADC14_IER0_IE0
179 #define ADC_INT1 ADC14_IER0_IE1
180 #define ADC_INT2 ADC14_IER0_IE2
181 #define ADC_INT3 ADC14_IER0_IE3
182 #define ADC_INT4 ADC14_IER0_IE4
183 #define ADC_INT5 ADC14_IER0_IE5
184 #define ADC_INT6 ADC14_IER0_IE6
185 #define ADC_INT7 ADC14_IER0_IE7
186 #define ADC_INT8 ADC14_IER0_IE8
187 #define ADC_INT9 ADC14_IER0_IE9
188 #define ADC_INT10 ADC14_IER0_IE10
189 #define ADC_INT11 ADC14_IER0_IE11
190 #define ADC_INT12 ADC14_IER0_IE12
191 #define ADC_INT13 ADC14_IER0_IE13
192 #define ADC_INT14 ADC14_IER0_IE14
193 #define ADC_INT15 ADC14_IER0_IE15
194 #define ADC_INT16 ADC14_IER0_IE16
195 #define ADC_INT17 ADC14_IER0_IE17
196 #define ADC_INT18 ADC14_IER0_IE18
197 #define ADC_INT19 ADC14_IER0_IE19
198 #define ADC_INT20 ADC14_IER0_IE20
199 #define ADC_INT21 ADC14_IER0_IE21
200 #define ADC_INT22 ADC14_IER0_IE22
201 #define ADC_INT23 ADC14_IER0_IE23
202 #define ADC_INT24 ADC14_IER0_IE24
203 #define ADC_INT25 ADC14_IER0_IE25
204 #define ADC_INT26 ADC14_IER0_IE26
205 #define ADC_INT27 ADC14_IER0_IE27
206 #define ADC_INT28 ADC14_IER0_IE28
207 #define ADC_INT29 ADC14_IER0_IE29
208 #define ADC_INT30 ADC14_IER0_IE30
209 #define ADC_INT31 ADC14_IER0_IE31
210 #define ADC_IN_INT 0x0000000200000000
211 #define ADC_LO_INT 0x0000000400000000
212 #define ADC_HI_INT 0x0000000800000000
213 #define ADC_OV_INT 0x0000001000000000
214 #define ADC_TOV_INT 0x0000002000000000
215 #define ADC_RDY_INT 0x0000004000000000
216 
217 #define ADC_INVALID_MEM 32
218 
219 //*****************************************************************************
220 //
221 //Prototypes for the APIs.
222 //
223 //*****************************************************************************
224 
225 //*****************************************************************************
226 //
233 //
234 //*****************************************************************************
235 extern void ADC14_enableModule(void);
236 
237 //*****************************************************************************
238 //
245 //
246 //*****************************************************************************
247 extern bool ADC14_disableModule(void);
248 
249 //*****************************************************************************
250 //
307 //
308 //*****************************************************************************
309 extern bool ADC14_initModule(uint32_t clockSource, uint32_t clockPredivider,
310  uint32_t clockDivider, uint32_t internalChannelMask);
311 
312 //*****************************************************************************
313 //
326 //
327 //*****************************************************************************
328 extern void ADC14_setResolution(uint32_t resolution);
329 
330 //*****************************************************************************
331 //
340 //
341 //*****************************************************************************
342 extern uint_fast32_t ADC14_getResolution(void);
343 
344 //*****************************************************************************
345 //
366 //
367 //*****************************************************************************
368 extern bool ADC14_setSampleHoldTrigger(uint32_t source, bool invertSignal);
369 
370 //*****************************************************************************
371 //
404 //
405 //*****************************************************************************
406 extern bool ADC14_setSampleHoldTime(uint32_t firstPulseWidth,
407  uint32_t secondPulseWidth);
408 
409 //*****************************************************************************
410 //
435 //
436 //*****************************************************************************
437 extern bool ADC14_configureMultiSequenceMode(uint32_t memoryStart,
438  uint32_t memoryEnd, bool repeatMode);
439 
440 //*****************************************************************************
441 //
451 
460 //
461 //*****************************************************************************
462 extern bool ADC14_configureSingleSampleMode(uint32_t memoryDestination,
463  bool repeatMode);
464 
465 //*****************************************************************************
466 //
474 //
475 //*****************************************************************************
476 extern bool ADC14_enableConversion(void);
477 
478 //*****************************************************************************
479 //
488 //
489 //*****************************************************************************
490 extern void ADC14_disableConversion(void);
491 
492 //*****************************************************************************
493 //
501 //
502 //*****************************************************************************
503 extern bool ADC14_toggleConversionTrigger(void);
504 
505 //*****************************************************************************
506 //
514 //
515 //*****************************************************************************
516 extern bool ADC14_isBusy(void);
517 
518 //*****************************************************************************
519 //
554 //
555 //*****************************************************************************
556 extern bool ADC14_configureConversionMemory(uint32_t memorySelect,
557  uint32_t refSelect, uint32_t channelSelect, bool differntialMode);
558 
559 //*****************************************************************************
560 //
576 //
577 //*****************************************************************************
578 extern bool ADC14_enableComparatorWindow(uint32_t memorySelect,
579  uint32_t windowSelect);
580 
581 //*****************************************************************************
582 //
592 //
593 //*****************************************************************************
594 extern bool ADC14_disableComparatorWindow(uint32_t memorySelect);
595 
596 //*****************************************************************************
597 //
619 //
620 //*****************************************************************************
621 extern bool ADC14_setComparatorWindowValue(uint32_t window, int16_t low,
622  int16_t high);
623 
624 //*****************************************************************************
625 //
637 //
638 //*****************************************************************************
639 extern bool ADC14_setResultFormat(uint32_t resultFormat);
640 
641 //*****************************************************************************
642 //
652 //
653 //*****************************************************************************
654 extern uint_fast16_t ADC14_getResult(uint32_t memorySelect);
655 
656 //*****************************************************************************
657 //
671 //
672 //*****************************************************************************
673 extern void ADC14_getMultiSequenceResult(uint16_t* res);
674 
675 //*****************************************************************************
676 //
696 //
697 //*****************************************************************************
698 extern void ADC14_getResultArray(uint32_t memoryStart, uint32_t memoryEnd,
699  uint16_t* res);
700 
701 //*****************************************************************************
702 //
711 //
712 //*****************************************************************************
713 extern bool ADC14_enableReferenceBurst(void);
714 
715 //*****************************************************************************
716 //
722 //
723 //*****************************************************************************
724 extern bool ADC14_disableReferenceBurst(void);
725 
726 //*****************************************************************************
727 //
743 //
744 //*****************************************************************************
745 extern bool ADC14_setPowerMode(uint32_t powerMode);
746 
747 //*****************************************************************************
748 //
761 //
762 //*****************************************************************************
763 extern bool ADC14_enableSampleTimer(uint32_t multiSampleConvert);
764 
765 //*****************************************************************************
766 //
771 //
772 //*****************************************************************************
773 extern bool ADC14_disableSampleTimer(void);
774 
775 //*****************************************************************************
776 //
806 //
807 //*****************************************************************************
808 extern void ADC14_enableInterrupt(uint_fast64_t mask);
809 
810 //*****************************************************************************
811 //
843 //
844 //*****************************************************************************
845 extern void ADC14_disableInterrupt(uint_fast64_t mask);
846 
847 //*****************************************************************************
848 //
876 //
877 //*****************************************************************************
878 extern uint_fast64_t ADC14_getInterruptStatus(void);
879 
880 //*****************************************************************************
881 //
889 // !interrupt will be set.
912 //
913 //*****************************************************************************
914 extern uint_fast64_t ADC14_getEnabledInterruptStatus(void);
915 
916 //*****************************************************************************
917 //
947 //
948 //*****************************************************************************
949 extern void ADC14_clearInterruptFlag(uint_fast64_t mask);
950 
951 //*****************************************************************************
952 //
969 //
970 //*****************************************************************************
971 extern void ADC14_registerInterrupt(void (*intHandler)(void));
972 
973 //*****************************************************************************
974 //
986 //
987 //*****************************************************************************
988 extern void ADC14_unregisterInterrupt(void);
989 
990 /* Defines for future devices that might have multiple instances */
991 #define ADC14_enableModuleMultipleInstance(a) ADC14_enableModule()
992 #define ADC14_disableModuleMultipleInstance(a) ADC14_disableModule()
993 #define ADC14_initModuleMultipleInstance(a,b,c,d,e) ADC14_initModule(b,c,d,e)
994 #define ADC14_setResolutionMutlipleInstance(a,b) ADC14_setResolution(b)
995 #define ADC14_getResolutionMutlipleInstance(a) ADC14_getResolution()
996 #define ADC14_setSampleHoldTriggerMultipleInstance(a,b,c) ADC14_setSampleHoldTrigger(b,c)
997 #define ADC14_setSampleHoldTimeMultipleInstance(a,b,c) ADC14_setSampleHoldTime(b,c)
998 #define ADC14_configureMultiSequenceModeMultipleInstance(a,b,c,d) ADC14_configureMultiSequenceMode(b,c,d)
999 #define ADC14_configureSingleSampleModeMultipleInstance(a,b,c) ADC14_configureSingleSampleMode(b,c)
1000 #define ADC14_enableConversionMultipleInstance(a,b) ADC14_enableConversion(b)
1001 #define ADC14_disableConversionMultipleInstance(a) ADC14_disableConversion()
1002 #define ADC14_toggleConversionTriggerMultipleInstance(a) ADC14_toggleConversionTrigger()
1003 #define ADC14_isBusyMultipleInstance(a) ADC14_isBusy()
1004 #define ADC14_configureConversionMemoryMultipleInstance(a,b,c,d,e) ADC14_enableModule(b,c,d,e)
1005 #define ADC14_enableComparatorWindowMultipleInstance(a,b,c) ADC14_enableComparatorWindow(b,c)
1006 #define ADC14_disableComparatorWindowMultipleInstance(a,b) ADC14_disableComparatorWindow(b)
1007 #define ADC14_setComparatorWindowValueMultipleInstance(a,b,c,d) ADC14_setComparatorWindowValue(b,c,d)
1008 #define ADC14_setResultFormatMultipleInstance(a,b) ADC14_setResultFormat(b)
1009 #define ADC14_getResultMultipleInstance(a,b) ADC14_getResult(b)
1010 #define ADC14_getMultiSequenceResultMultipleInstance(a,b) ADC14_getMultiSequenceResult(b)
1011 #define ADC14_getResultArrayMultipleInstance(a,b,c,d) ADC14_getResultArray(b,c,d)
1012 #define ADC14_enableReferenceBurstMultipleInstance(a) ADC14_enableReferenceBurst()
1013 #define ADC14_disableReferenceBurstMultipleInstance(a) ADC14_disableReferenceBurst()
1014 #define ADC14_setPowerModeMultipleInstance(a,b) ADC14_setPowerMode(b)
1015 #define ADC14_enableSampleTimerMultipleInstance(a,b) ADC14_enableSampleTimer(b)
1016 #define ADC14_disableSampleTimerMultipleInstance(a) ADC14_disableSampleTimer()
1017 #define ADC14_enableInterruptMultipleInstance(a,b) ADC14_enableInterrupt(b)
1018 #define ADC14_disableInterruptMultipleInstance(a,b) ADC14_disableInterrupt(b)
1019 #define ADC14_getInterruptStatusMultipleInstance(a) ADC14_getInterruptStatus()
1020 #define ADC14_getEnabledInterruptStatusMultipleInstance(a) ADC14_getEnabledInterruptStatus()
1021 #define ADC14_clearInterruptFlagMultipleInstance(a,b) ADC14_clearInterruptFlag(b)
1022 #define ADC14_registerInterruptMultipleInstance(a,b) ADC14_registerInterrupt(b)
1023 #define ADC14_unregisterInterruptMultipleInstance(a) ADC14_unregisterInterrupt()
1024 
1025 //*****************************************************************************
1026 //
1027 // Mark the end of the C bindings section for C++ compilers.
1028 //
1029 //*****************************************************************************
1030 #ifdef __cplusplus
1031 }
1032 #endif
1033 
1034 //*****************************************************************************
1035 //
1036 // Close the Doxygen group.
1038 //
1039 //*****************************************************************************
1040 
1041 #endif /* ADC14_H_ */
bool ADC14_disableReferenceBurst(void)
Definition: adc14.c:613
void ADC14_getMultiSequenceResult(uint16_t *res)
Definition: adc14.c:547
bool ADC14_enableComparatorWindow(uint32_t memorySelect, uint32_t windowSelect)
Definition: adc14.c:426
void ADC14_getResultArray(uint32_t memoryStart, uint32_t memoryEnd, uint16_t *res)
Definition: adc14.c:572
bool ADC14_enableReferenceBurst(void)
Definition: adc14.c:603
bool ADC14_setSampleHoldTrigger(uint32_t source, bool invertSignal)
Definition: adc14.c:217
bool ADC14_toggleConversionTrigger(void)
Definition: adc14.c:355
bool ADC14_initModule(uint32_t clockSource, uint32_t clockPredivider, uint32_t clockDivider, uint32_t internalChannelMask)
Definition: adc14.c:158
void ADC14_disableConversion(void)
Definition: adc14.c:371
bool ADC14_enableSampleTimer(uint32_t multiSampleConvert)
Definition: adc14.c:130
void ADC14_unregisterInterrupt(void)
Definition: adc14.c:700
void ADC14_enableInterrupt(uint_fast64_t mask)
Definition: adc14.c:646
bool ADC14_disableSampleTimer(void)
Definition: adc14.c:148
void ADC14_enableModule(void)
Definition: adc14.c:115
bool ADC14_setComparatorWindowValue(uint32_t window, int16_t low, int16_t high)
Definition: adc14.c:499
bool ADC14_configureConversionMemory(uint32_t memorySelect, uint32_t refSelect, uint32_t channelSelect, bool differntialMode)
Definition: adc14.c:381
bool ADC14_setResultFormat(uint32_t resultFormat)
Definition: adc14.c:522
bool ADC14_configureMultiSequenceMode(uint32_t memoryStart, uint32_t memoryEnd, bool repeatMode)
Definition: adc14.c:279
uint_fast64_t ADC14_getInterruptStatus(void)
Definition: adc14.c:664
bool ADC14_isBusy(void)
Definition: adc14.c:376
bool ADC14_disableModule(void)
Definition: adc14.c:120
uint_fast16_t ADC14_getResult(uint32_t memorySelect)
Definition: adc14.c:541
bool ADC14_enableConversion(void)
Definition: adc14.c:345
void ADC14_disableInterrupt(uint_fast64_t mask)
Definition: adc14.c:655
bool ADC14_configureSingleSampleMode(uint32_t memoryDestination, bool repeatMode)
Definition: adc14.c:319
bool ADC14_disableComparatorWindow(uint32_t memorySelect)
Definition: adc14.c:468
void ADC14_clearInterruptFlag(uint_fast64_t mask)
Definition: adc14.c:678
bool ADC14_setSampleHoldTime(uint32_t firstPulseWidth, uint32_t secondPulseWidth)
Definition: adc14.c:246
uint_fast32_t ADC14_getResolution(void)
Definition: adc14.c:212
uint_fast64_t ADC14_getEnabledInterruptStatus(void)
Definition: adc14.c:670
bool ADC14_setPowerMode(uint32_t powerMode)
Definition: adc14.c:623
void ADC14_setResolution(uint32_t resolution)
Definition: adc14.c:203
void ADC14_registerInterrupt(void(*intHandler)(void))
Definition: adc14.c:687

Copyright 2014, Texas Instruments Incorporated