| RTOS_MSPM0 1.1 ECE445M starter code

ADCTimer.h
Go to the documentation of this file.
1
60 #ifndef __ADCTimer_H__
61 #define __ADCTimer_H__
62 #include <ti/devices/msp/msp.h>
63
67 #define ADCVREF_INT 0x200
71 #define ADCVREF_EXT 0x100
75 #define ADCVREF_VDDA 0x000
97 void ADC0_TimerG0_Init(uint32_t channel, uint32_t reference,uint16_t period, uint32_t prescale, uint32_t priority);
98
120 void ADC1_TimerG8_Init(uint32_t channel, uint32_t reference,uint16_t period, uint32_t prescale, uint32_t priority);
121
122
123 #endif // __ADCTimer_H__
ADC0_TimerG0_Init
void ADC0_TimerG0_Init(uint32_t channel, uint32_t reference, uint16_t period, uint32_t prescale, uint32_t priority)
Initialize 12-bit ADC0.
ADC1_TimerG8_Init
void ADC1_TimerG8_Init(uint32_t channel, uint32_t reference, uint16_t period, uint32_t prescale, uint32_t priority)
Initialize 12-bit ADC1.