xref: /btstack/port/msp432p401lp-cc256x/ti/devices/msp432p4xx/driverlib/ref_a.h (revision 5fd0122a3e19d95e11e1f3eb8a08a2b2acb2557e)
1*5fd0122aSMatthias Ringwald /* --COPYRIGHT--,BSD
2*5fd0122aSMatthias Ringwald  * Copyright (c) 2017, Texas Instruments Incorporated
3*5fd0122aSMatthias Ringwald  * All rights reserved.
4*5fd0122aSMatthias Ringwald  *
5*5fd0122aSMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
6*5fd0122aSMatthias Ringwald  * modification, are permitted provided that the following conditions
7*5fd0122aSMatthias Ringwald  * are met:
8*5fd0122aSMatthias Ringwald  *
9*5fd0122aSMatthias Ringwald  * *  Redistributions of source code must retain the above copyright
10*5fd0122aSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
11*5fd0122aSMatthias Ringwald  *
12*5fd0122aSMatthias Ringwald  * *  Redistributions in binary form must reproduce the above copyright
13*5fd0122aSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
14*5fd0122aSMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
15*5fd0122aSMatthias Ringwald  *
16*5fd0122aSMatthias Ringwald  * *  Neither the name of Texas Instruments Incorporated nor the names of
17*5fd0122aSMatthias Ringwald  *    its contributors may be used to endorse or promote products derived
18*5fd0122aSMatthias Ringwald  *    from this software without specific prior written permission.
19*5fd0122aSMatthias Ringwald  *
20*5fd0122aSMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21*5fd0122aSMatthias Ringwald  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22*5fd0122aSMatthias Ringwald  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23*5fd0122aSMatthias Ringwald  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24*5fd0122aSMatthias Ringwald  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25*5fd0122aSMatthias Ringwald  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26*5fd0122aSMatthias Ringwald  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27*5fd0122aSMatthias Ringwald  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28*5fd0122aSMatthias Ringwald  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29*5fd0122aSMatthias Ringwald  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30*5fd0122aSMatthias Ringwald  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*5fd0122aSMatthias Ringwald  * --/COPYRIGHT--*/
32*5fd0122aSMatthias Ringwald #ifndef __REF_B_H__
33*5fd0122aSMatthias Ringwald #define __REF_B_H__
34*5fd0122aSMatthias Ringwald 
35*5fd0122aSMatthias Ringwald //*****************************************************************************
36*5fd0122aSMatthias Ringwald //
37*5fd0122aSMatthias Ringwald //! \addtogroup ref_api
38*5fd0122aSMatthias Ringwald //! @{
39*5fd0122aSMatthias Ringwald //
40*5fd0122aSMatthias Ringwald //*****************************************************************************
41*5fd0122aSMatthias Ringwald 
42*5fd0122aSMatthias Ringwald #include <ti/devices/msp432p4xx/inc/msp.h>
43*5fd0122aSMatthias Ringwald #include <stdbool.h>
44*5fd0122aSMatthias Ringwald #include <stdint.h>
45*5fd0122aSMatthias Ringwald 
46*5fd0122aSMatthias Ringwald //*****************************************************************************
47*5fd0122aSMatthias Ringwald //
48*5fd0122aSMatthias Ringwald // If building with a C++ compiler, make all of the definitions in this header
49*5fd0122aSMatthias Ringwald // have a C binding.
50*5fd0122aSMatthias Ringwald //
51*5fd0122aSMatthias Ringwald //*****************************************************************************
52*5fd0122aSMatthias Ringwald #ifdef __cplusplus
53*5fd0122aSMatthias Ringwald extern "C"
54*5fd0122aSMatthias Ringwald {
55*5fd0122aSMatthias Ringwald #endif
56*5fd0122aSMatthias Ringwald 
57*5fd0122aSMatthias Ringwald //*****************************************************************************
58*5fd0122aSMatthias Ringwald //
59*5fd0122aSMatthias Ringwald //The following are values that can be passed to Ref_setReferenceVoltage()
60*5fd0122aSMatthias Ringwald //in the referenceVoltageSelect parameter.
61*5fd0122aSMatthias Ringwald //
62*5fd0122aSMatthias Ringwald //*****************************************************************************
63*5fd0122aSMatthias Ringwald #define REF_A_VREF1_2V  REF_A_CTL0_VSEL_0
64*5fd0122aSMatthias Ringwald #define REF_A_VREF1_45V REF_A_CTL0_VSEL_1
65*5fd0122aSMatthias Ringwald #define REF_A_VREF2_5V  REF_A_CTL0_VSEL_3
66*5fd0122aSMatthias Ringwald 
67*5fd0122aSMatthias Ringwald //*****************************************************************************
68*5fd0122aSMatthias Ringwald //
69*5fd0122aSMatthias Ringwald //The following are values that are returned by Ref_getBandgapMode().
70*5fd0122aSMatthias Ringwald //
71*5fd0122aSMatthias Ringwald //*****************************************************************************
72*5fd0122aSMatthias Ringwald #define REF_A_STATICMODE 0x0
73*5fd0122aSMatthias Ringwald #define REF_A_SAMPLEMODE REF_A_CTL0_BGMODE
74*5fd0122aSMatthias Ringwald 
75*5fd0122aSMatthias Ringwald //*****************************************************************************
76*5fd0122aSMatthias Ringwald //
77*5fd0122aSMatthias Ringwald //! Sets the reference voltage for the voltage generator.
78*5fd0122aSMatthias Ringwald //!
79*5fd0122aSMatthias Ringwald //! \param referenceVoltageSelect is the desired voltage to generate for a
80*5fd0122aSMatthias Ringwald //!       reference voltage.
81*5fd0122aSMatthias Ringwald //!        Valid values are:
82*5fd0122aSMatthias Ringwald //!        - \b REF_A_VREF1_2V [Default]
83*5fd0122aSMatthias Ringwald //!        - \b REF_A_VREF1_45V
84*5fd0122aSMatthias Ringwald //!        - \b REF_A_VREF2_5V
85*5fd0122aSMatthias Ringwald //!        Modified bits are \b REFVSEL of \b REFCTL0 register.
86*5fd0122aSMatthias Ringwald //!
87*5fd0122aSMatthias Ringwald //! This function sets the reference voltage generated by the voltage generator
88*5fd0122aSMatthias Ringwald //! to be used by other peripherals. This reference voltage will only be valid
89*5fd0122aSMatthias Ringwald //! while the REF module is in control.
90*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns \b REF_BUSY,
91*5fd0122aSMatthias Ringwald //! this function  will have no effect.
92*5fd0122aSMatthias Ringwald //!
93*5fd0122aSMatthias Ringwald //! \return none
94*5fd0122aSMatthias Ringwald //
95*5fd0122aSMatthias Ringwald //*****************************************************************************
96*5fd0122aSMatthias Ringwald extern void REF_A_setReferenceVoltage(uint_fast8_t referenceVoltageSelect);
97*5fd0122aSMatthias Ringwald 
98*5fd0122aSMatthias Ringwald //*****************************************************************************
99*5fd0122aSMatthias Ringwald //
100*5fd0122aSMatthias Ringwald //! Disables the internal temperature sensor to save power consumption.
101*5fd0122aSMatthias Ringwald //!
102*5fd0122aSMatthias Ringwald //! This function is used to turn off the internal temperature sensor to save
103*5fd0122aSMatthias Ringwald //! on power consumption. The temperature sensor is enabled by default. Please
104*5fd0122aSMatthias Ringwald //! note, that giving ADC12 module control over the REF module, the state of the
105*5fd0122aSMatthias Ringwald //! temperature sensor is dependent on the controls of the ADC12 module.
106*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink  returns
107*5fd0122aSMatthias Ringwald //! \b REF_A_BUSY, this function will have no effect.
108*5fd0122aSMatthias Ringwald //!
109*5fd0122aSMatthias Ringwald //! Modified bits are \b REFTCOFF of \b REFCTL0 register.
110*5fd0122aSMatthias Ringwald //! \return none
111*5fd0122aSMatthias Ringwald //
112*5fd0122aSMatthias Ringwald //*****************************************************************************
113*5fd0122aSMatthias Ringwald extern void REF_A_disableTempSensor(void);
114*5fd0122aSMatthias Ringwald 
115*5fd0122aSMatthias Ringwald //*****************************************************************************
116*5fd0122aSMatthias Ringwald //
117*5fd0122aSMatthias Ringwald //! Enables the internal temperature sensor.
118*5fd0122aSMatthias Ringwald //!
119*5fd0122aSMatthias Ringwald //! This function is used to turn on the internal temperature sensor to use by
120*5fd0122aSMatthias Ringwald //! other peripherals. The temperature sensor is enabled by default.
121*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns
122*5fd0122aSMatthias Ringwald //! \b REF_A_BUSY, this function will have no effect.
123*5fd0122aSMatthias Ringwald //!
124*5fd0122aSMatthias Ringwald //! Modified bits are \b REFTCOFF of \b REFCTL0 register.
125*5fd0122aSMatthias Ringwald //!
126*5fd0122aSMatthias Ringwald //! \return none
127*5fd0122aSMatthias Ringwald //
128*5fd0122aSMatthias Ringwald //*****************************************************************************
129*5fd0122aSMatthias Ringwald extern void REF_A_enableTempSensor(void);
130*5fd0122aSMatthias Ringwald 
131*5fd0122aSMatthias Ringwald //*****************************************************************************
132*5fd0122aSMatthias Ringwald //
133*5fd0122aSMatthias Ringwald //! Outputs the reference voltage to an output pin.
134*5fd0122aSMatthias Ringwald //!
135*5fd0122aSMatthias Ringwald //! This function is used to output the reference voltage being generated to an
136*5fd0122aSMatthias Ringwald //! output pin. Please note, the output pin is device specific. Please note,
137*5fd0122aSMatthias Ringwald //! that giving ADC12 module control over the REF module, the state of the
138*5fd0122aSMatthias Ringwald //! reference voltage as an output to a pin is dependent on the controls of the
139*5fd0122aSMatthias Ringwald //! ADC12 module.
140*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns
141*5fd0122aSMatthias Ringwald //! \b REF_A_BUSY, this function will have no effect.
142*5fd0122aSMatthias Ringwald //!
143*5fd0122aSMatthias Ringwald //! Modified bits are \b REFOUT of \b REFCTL0 register.
144*5fd0122aSMatthias Ringwald //! \return none
145*5fd0122aSMatthias Ringwald //
146*5fd0122aSMatthias Ringwald //*****************************************************************************
147*5fd0122aSMatthias Ringwald extern void REF_A_enableReferenceVoltageOutput(void);
148*5fd0122aSMatthias Ringwald 
149*5fd0122aSMatthias Ringwald //*****************************************************************************
150*5fd0122aSMatthias Ringwald //
151*5fd0122aSMatthias Ringwald //! Disables the reference voltage as an output to a pin.
152*5fd0122aSMatthias Ringwald //!
153*5fd0122aSMatthias Ringwald //! This function is used to disables the reference voltage being generated to
154*5fd0122aSMatthias Ringwald //! be given to an output pin.
155*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns
156*5fd0122aSMatthias Ringwald //! \b REF_A_BUSY, this function will have no effect.
157*5fd0122aSMatthias Ringwald //!
158*5fd0122aSMatthias Ringwald //! Modified bits are \b REFOUT of \b REFCTL0 register.
159*5fd0122aSMatthias Ringwald //! \return none
160*5fd0122aSMatthias Ringwald //
161*5fd0122aSMatthias Ringwald //*****************************************************************************
162*5fd0122aSMatthias Ringwald extern void REF_A_disableReferenceVoltageOutput(void);
163*5fd0122aSMatthias Ringwald 
164*5fd0122aSMatthias Ringwald //*****************************************************************************
165*5fd0122aSMatthias Ringwald //
166*5fd0122aSMatthias Ringwald //! Enables the reference voltage to be used by peripherals.
167*5fd0122aSMatthias Ringwald //!
168*5fd0122aSMatthias Ringwald //! This function is used to enable the generated reference voltage to be used
169*5fd0122aSMatthias Ringwald //! other peripherals or by an output pin, if enabled. Please note, that giving
170*5fd0122aSMatthias Ringwald //! ADC12 module control over the REF module, the state of the reference voltage
171*5fd0122aSMatthias Ringwald //! is dependent on the controls of the ADC12 module.
172*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns
173*5fd0122aSMatthias Ringwald //! REF_A_BUSY, this function will have no effect.
174*5fd0122aSMatthias Ringwald //!
175*5fd0122aSMatthias Ringwald //! Modified bits are \b REFON of \b REFCTL0 register.
176*5fd0122aSMatthias Ringwald //! \return none
177*5fd0122aSMatthias Ringwald //
178*5fd0122aSMatthias Ringwald //*****************************************************************************
179*5fd0122aSMatthias Ringwald extern void REF_A_enableReferenceVoltage(void);
180*5fd0122aSMatthias Ringwald 
181*5fd0122aSMatthias Ringwald //*****************************************************************************
182*5fd0122aSMatthias Ringwald //
183*5fd0122aSMatthias Ringwald //! Disables the reference voltage.
184*5fd0122aSMatthias Ringwald //!
185*5fd0122aSMatthias Ringwald //! This function is used to disable the generated reference voltage.
186*5fd0122aSMatthias Ringwald //! Please note, if the \link REF_A_isRefGenBusy() \endlink returns
187*5fd0122aSMatthias Ringwald //!  \b  REF_A_BUSY, this function will have no effect.
188*5fd0122aSMatthias Ringwald //!
189*5fd0122aSMatthias Ringwald //! Modified bits are \b REFON of \b REFCTL0 register.
190*5fd0122aSMatthias Ringwald //! \return none
191*5fd0122aSMatthias Ringwald //
192*5fd0122aSMatthias Ringwald //*****************************************************************************
193*5fd0122aSMatthias Ringwald extern void REF_A_disableReferenceVoltage(void);
194*5fd0122aSMatthias Ringwald 
195*5fd0122aSMatthias Ringwald //*****************************************************************************
196*5fd0122aSMatthias Ringwald //
197*5fd0122aSMatthias Ringwald //! Returns the bandgap mode of the REF module.
198*5fd0122aSMatthias Ringwald //!
199*5fd0122aSMatthias Ringwald //! This function is used to return the bandgap mode of the REF module,
200*5fd0122aSMatthias Ringwald //! requested by the peripherals using the bandgap. If a peripheral requests
201*5fd0122aSMatthias Ringwald //! static mode, then the bandgap mode will be static for all modules, whereas
202*5fd0122aSMatthias Ringwald //! if all of the peripherals using the bandgap request sample mode, then that
203*5fd0122aSMatthias Ringwald //! will be the mode returned. Sample mode allows the bandgap to be active only
204*5fd0122aSMatthias Ringwald //! when necessary to save on power consumption, static mode requires the
205*5fd0122aSMatthias Ringwald //! bandgap to be active until no peripherals are using it anymore.
206*5fd0122aSMatthias Ringwald //!
207*5fd0122aSMatthias Ringwald //! \return The bandgap mode of the REF module:
208*5fd0122aSMatthias Ringwald //!        - \b REF_A_STATICMODE if the bandgap is operating in static mode
209*5fd0122aSMatthias Ringwald //!        - \b REF_A_SAMPLEMODE if the bandgap is operating in sample mode
210*5fd0122aSMatthias Ringwald //
211*5fd0122aSMatthias Ringwald //*****************************************************************************
212*5fd0122aSMatthias Ringwald extern uint_fast8_t REF_A_getBandgapMode(void);
213*5fd0122aSMatthias Ringwald 
214*5fd0122aSMatthias Ringwald //*****************************************************************************
215*5fd0122aSMatthias Ringwald //
216*5fd0122aSMatthias Ringwald //! Returns the active status of the bandgap in the REF module.
217*5fd0122aSMatthias Ringwald //!
218*5fd0122aSMatthias Ringwald //! This function is used to return the active status of the bandgap in the REF
219*5fd0122aSMatthias Ringwald //! module. If the bandgap is in use by a peripheral, then the status will be
220*5fd0122aSMatthias Ringwald //! seen as active.
221*5fd0122aSMatthias Ringwald //!
222*5fd0122aSMatthias Ringwald //! \return true if the bandgap is being used, false otherwise
223*5fd0122aSMatthias Ringwald //
224*5fd0122aSMatthias Ringwald //*****************************************************************************
225*5fd0122aSMatthias Ringwald extern bool REF_A_isBandgapActive(void);
226*5fd0122aSMatthias Ringwald 
227*5fd0122aSMatthias Ringwald //*****************************************************************************
228*5fd0122aSMatthias Ringwald //
229*5fd0122aSMatthias Ringwald //! Returns the busy status of the reference generator in the REF module.
230*5fd0122aSMatthias Ringwald //!
231*5fd0122aSMatthias Ringwald //! This function is used to return the busy status of the reference generator
232*5fd0122aSMatthias Ringwald //! in the REF module. If the ref. generator is in use by a peripheral, then the
233*5fd0122aSMatthias Ringwald //! status will be seen as busy.
234*5fd0122aSMatthias Ringwald //!
235*5fd0122aSMatthias Ringwald //! \return true if the reference generator is being used, false otherwise.
236*5fd0122aSMatthias Ringwald //*****************************************************************************
237*5fd0122aSMatthias Ringwald extern bool REF_A_isRefGenBusy(void);
238*5fd0122aSMatthias Ringwald 
239*5fd0122aSMatthias Ringwald //*****************************************************************************
240*5fd0122aSMatthias Ringwald //
241*5fd0122aSMatthias Ringwald //! Returns the active status of the reference generator in the REF module.
242*5fd0122aSMatthias Ringwald //!
243*5fd0122aSMatthias Ringwald //! This function is used to return the active status of the reference generator
244*5fd0122aSMatthias Ringwald //! in the REF module. If the ref. generator is on and ready to use, then the
245*5fd0122aSMatthias Ringwald //! status will be seen as active.
246*5fd0122aSMatthias Ringwald //!
247*5fd0122aSMatthias Ringwald //! \return true if the reference generator is active, false otherwise.
248*5fd0122aSMatthias Ringwald //
249*5fd0122aSMatthias Ringwald //*****************************************************************************
250*5fd0122aSMatthias Ringwald extern bool REF_A_isRefGenActive(void);
251*5fd0122aSMatthias Ringwald 
252*5fd0122aSMatthias Ringwald //*****************************************************************************
253*5fd0122aSMatthias Ringwald //
254*5fd0122aSMatthias Ringwald //! Returns the busy status of the reference generator in the REF module.
255*5fd0122aSMatthias Ringwald //!
256*5fd0122aSMatthias Ringwald //! This function is used to return the buys status of the buffered bandgap
257*5fd0122aSMatthias Ringwald //! voltage in the REF module. If the ref. generator is on and ready to use,
258*5fd0122aSMatthias Ringwald //! then the status will be seen as active.
259*5fd0122aSMatthias Ringwald //!
260*5fd0122aSMatthias Ringwald //! \return true if the buffered bandgap voltage is ready to be used, false
261*5fd0122aSMatthias Ringwald //!         otherwise
262*5fd0122aSMatthias Ringwald //
263*5fd0122aSMatthias Ringwald //*****************************************************************************
264*5fd0122aSMatthias Ringwald extern bool REF_A_getBufferedBandgapVoltageStatus(void);
265*5fd0122aSMatthias Ringwald 
266*5fd0122aSMatthias Ringwald //*****************************************************************************
267*5fd0122aSMatthias Ringwald //
268*5fd0122aSMatthias Ringwald //! Returns the busy status of the variable reference voltage in the REF module.
269*5fd0122aSMatthias Ringwald //!
270*5fd0122aSMatthias Ringwald //! This function is used to return the buys status of the variable reference
271*5fd0122aSMatthias Ringwald //! voltage in the REF module. If the ref. generator is on and ready to use,
272*5fd0122aSMatthias Ringwald //! then the status will be seen as active.
273*5fd0122aSMatthias Ringwald //!
274*5fd0122aSMatthias Ringwald //! \return true if the variable bandgap voltage is ready to be used, false
275*5fd0122aSMatthias Ringwald //!         otherwise
276*5fd0122aSMatthias Ringwald //
277*5fd0122aSMatthias Ringwald //*****************************************************************************
278*5fd0122aSMatthias Ringwald extern bool REF_A_getVariableReferenceVoltageStatus(void);
279*5fd0122aSMatthias Ringwald 
280*5fd0122aSMatthias Ringwald //*****************************************************************************
281*5fd0122aSMatthias Ringwald //
282*5fd0122aSMatthias Ringwald //! Enables the one-time trigger of the reference voltage.
283*5fd0122aSMatthias Ringwald //!
284*5fd0122aSMatthias Ringwald //! Triggers the one-time generation of the variable reference voltage.  Once
285*5fd0122aSMatthias Ringwald //! the reference voltage request is set, this bit is cleared by hardware
286*5fd0122aSMatthias Ringwald //!
287*5fd0122aSMatthias Ringwald //! Modified bits are \b REFGENOT of \b REFCTL0 register.
288*5fd0122aSMatthias Ringwald //!
289*5fd0122aSMatthias Ringwald //! \return none
290*5fd0122aSMatthias Ringwald //
291*5fd0122aSMatthias Ringwald //*****************************************************************************
292*5fd0122aSMatthias Ringwald extern void REF_A_setReferenceVoltageOneTimeTrigger(void);
293*5fd0122aSMatthias Ringwald 
294*5fd0122aSMatthias Ringwald //*****************************************************************************
295*5fd0122aSMatthias Ringwald //
296*5fd0122aSMatthias Ringwald //! Enables the one-time trigger of the buffered bandgap voltage.
297*5fd0122aSMatthias Ringwald //!
298*5fd0122aSMatthias Ringwald //! Triggers the one-time generation of the buffered bandgap voltage.  Once
299*5fd0122aSMatthias Ringwald //! the buffered bandgap voltage request is set, this bit is cleared by hardware
300*5fd0122aSMatthias Ringwald //!
301*5fd0122aSMatthias Ringwald //! Modified bits are \b RefGOT of \b REFCTL0 register.
302*5fd0122aSMatthias Ringwald //!
303*5fd0122aSMatthias Ringwald //! \return none
304*5fd0122aSMatthias Ringwald //
305*5fd0122aSMatthias Ringwald //*****************************************************************************
306*5fd0122aSMatthias Ringwald extern void REF_A_setBufferedBandgapVoltageOneTimeTrigger(void);
307*5fd0122aSMatthias Ringwald 
308*5fd0122aSMatthias Ringwald /* Defines for future devices that might have multiple instances */
309*5fd0122aSMatthias Ringwald #define REF_A_setReferenceVoltageMultipleInstance(a,b) REF_A_setReferenceVoltage(b)
310*5fd0122aSMatthias Ringwald #define REF_A_disableTempSensorMultipleInstance(a) REF_A_disableTempSensor()
311*5fd0122aSMatthias Ringwald #define REF_A_enableTempSensorMultipleInstance(a) REF_A_enableTempSensor()
312*5fd0122aSMatthias Ringwald #define REF_A_enableReferenceVoltageOutputMultipleInstance(a) REF_A_enableReferenceVoltageOutput()
313*5fd0122aSMatthias Ringwald #define REF_A_disableReferenceVoltageOutputMultipleInstance(a) REF_A_disableReferenceVoltageOutput()
314*5fd0122aSMatthias Ringwald #define REF_A_enableReferenceVoltageMultipleInstance(a) REF_A_enableReferenceVoltage()
315*5fd0122aSMatthias Ringwald #define REF_A_disableReferenceVoltageMultipleInstance(a) REF_A_disableReferenceVoltage()
316*5fd0122aSMatthias Ringwald #define REF_A_getBandgapModeMultipleInstance(a) REF_A_getBandgapMode()
317*5fd0122aSMatthias Ringwald #define REF_A_isBandgapActiveMultipleInstance(a) REF_A_isBandgapActive()
318*5fd0122aSMatthias Ringwald #define REF_A_isRefGenBusyMultipleInstance(a) REF_A_isRefGenBusy()
319*5fd0122aSMatthias Ringwald #define REF_A_isRefGenActiveMultipleInstance(a) REF_A_isRefGenActive()
320*5fd0122aSMatthias Ringwald #define REF_A_getBufferedBandgapVoltageStatusMultipleInstance(a) REF_A_getBufferedBandgapVoltageStatus()
321*5fd0122aSMatthias Ringwald #define REF_A_getVariableReferenceVoltageStatusMultipleInstance(a) REF_A_getVariableReferenceVoltageStatus()
322*5fd0122aSMatthias Ringwald #define REF_A_setReferenceVoltageOneTimeTriggerMultipleInstance(a) REF_A_setReferenceVoltageOneTimeTrigger()
323*5fd0122aSMatthias Ringwald #define REF_A_setBufferedBandgapVoltageOneTimeTriggerMultipleInstance(a) REF_A_setBufferedBandgapVoltageOneTimeTrigger()
324*5fd0122aSMatthias Ringwald 
325*5fd0122aSMatthias Ringwald //*****************************************************************************
326*5fd0122aSMatthias Ringwald //
327*5fd0122aSMatthias Ringwald // Mark the end of the C bindings section for C++ compilers.
328*5fd0122aSMatthias Ringwald //
329*5fd0122aSMatthias Ringwald //*****************************************************************************
330*5fd0122aSMatthias Ringwald #ifdef __cplusplus
331*5fd0122aSMatthias Ringwald }
332*5fd0122aSMatthias Ringwald #endif
333*5fd0122aSMatthias Ringwald 
334*5fd0122aSMatthias Ringwald //*****************************************************************************
335*5fd0122aSMatthias Ringwald //
336*5fd0122aSMatthias Ringwald // Close the Doxygen group.
337*5fd0122aSMatthias Ringwald //! @}
338*5fd0122aSMatthias Ringwald //
339*5fd0122aSMatthias Ringwald //*****************************************************************************
340*5fd0122aSMatthias Ringwald 
341*5fd0122aSMatthias Ringwald #endif // __REF_A_H__
342