Home
last modified time | relevance | path

Searched refs:Adc (Results 1 – 20 of 20) sorted by relevance

/loramac-node-latest/src/boards/mcu/saml21/hri/
Dhri_adc_l21.h86 while (((Adc *)hw)->SYNCBUSY.reg & reg) { in hri_adc_wait_for_sync()
92 return ((Adc *)hw)->SYNCBUSY.reg & reg; in hri_adc_is_syncing()
97 ((Adc *)hw)->INTENSET.reg = ADC_INTENSET_RESRDY; in hri_adc_set_INTEN_RESRDY_bit()
102 return (((Adc *)hw)->INTENSET.reg & ADC_INTENSET_RESRDY) >> ADC_INTENSET_RESRDY_Pos; in hri_adc_get_INTEN_RESRDY_bit()
108 ((Adc *)hw)->INTENCLR.reg = ADC_INTENSET_RESRDY; in hri_adc_write_INTEN_RESRDY_bit()
110 ((Adc *)hw)->INTENSET.reg = ADC_INTENSET_RESRDY; in hri_adc_write_INTEN_RESRDY_bit()
116 ((Adc *)hw)->INTENCLR.reg = ADC_INTENSET_RESRDY; in hri_adc_clear_INTEN_RESRDY_bit()
121 ((Adc *)hw)->INTENSET.reg = ADC_INTENSET_OVERRUN; in hri_adc_set_INTEN_OVERRUN_bit()
126 return (((Adc *)hw)->INTENSET.reg & ADC_INTENSET_OVERRUN) >> ADC_INTENSET_OVERRUN_Pos; in hri_adc_get_INTEN_OVERRUN_bit()
132 ((Adc *)hw)->INTENCLR.reg = ADC_INTENSET_OVERRUN; in hri_adc_write_INTEN_OVERRUN_bit()
[all …]
/loramac-node-latest/src/boards/SKiM881AXL/
Dboard.c60 Adc_t Adc; variable
153 AdcInit( &Adc, POTI ); in BoardInitMcu()
176 AdcDeInit( &Adc ); in BoardDeInitMcu()
211 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
265 vref = AdcReadChannel( &Adc , ADC_CHANNEL_17 ); in BoardBatteryMeasureVoltage()
/loramac-node-latest/src/boards/NAMote72/
Dboard.c67 Adc_t Adc; variable
203 AdcInit( &Adc, BAT_LEVEL_PIN_PA0 ); in BoardInitMcu()
206 AdcInit( &Adc, BAT_LEVEL_PIN_PA1 ); in BoardInitMcu()
235 AdcDeInit( &Adc ); in BoardDeInitMcu()
298 vdiv = AdcReadChannel( &Adc, BAT_LEVEL_CHANNEL_PA0 ); in BoardBatteryMeasureVoltage()
301 vdiv = AdcReadChannel( &Adc, BAT_LEVEL_CHANNEL_PA1 ); in BoardBatteryMeasureVoltage()
/loramac-node-latest/src/boards/SKiM980A/
Dboard.c60 Adc_t Adc; variable
153 AdcInit( &Adc, POTI ); in BoardInitMcu()
178 AdcDeInit( &Adc ); in BoardDeInitMcu()
219 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
273 vref = AdcReadChannel( &Adc , ADC_CHANNEL_17 ); in BoardBatteryMeasureVoltage()
/loramac-node-latest/src/boards/NucleoL073/
Dboard.c63 Adc_t Adc; variable
154 AdcInit( &Adc, NC ); // Just initialize ADC in BoardInitMcu()
199 AdcDeInit( &Adc ); in BoardDeInitMcu()
283 vref = AdcReadChannel( &Adc, ADC_CHANNEL_VREFINT ); in BoardBatteryMeasureVoltage()
333 tempRaw = AdcReadChannel( &Adc, ADC_CHANNEL_TEMPSENSOR ); in BoardGetTemperature()
/loramac-node-latest/src/boards/NucleoL152/
Dboard.c63 Adc_t Adc; variable
154 AdcInit( &Adc, NC ); // Just initialize ADC in BoardInitMcu()
199 AdcDeInit( &Adc ); in BoardDeInitMcu()
283 vref = AdcReadChannel( &Adc, ADC_CHANNEL_VREFINT ); in BoardBatteryMeasureVoltage()
333 tempRaw = AdcReadChannel( &Adc, ADC_CHANNEL_TEMPSENSOR ); in BoardGetTemperature()
/loramac-node-latest/src/boards/SKiM880B/
Dboard.c60 Adc_t Adc; variable
153 AdcInit( &Adc, POTI ); in BoardInitMcu()
178 AdcDeInit( &Adc ); in BoardDeInitMcu()
219 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
273 vref = AdcReadChannel( &Adc , ADC_CHANNEL_17 ); in BoardBatteryMeasureVoltage()
/loramac-node-latest/src/boards/NucleoL476/
Dboard.c63 Adc_t Adc; variable
161 AdcInit( &Adc, NC ); // Just initialize ADC in BoardInitMcu()
206 AdcDeInit( &Adc ); in BoardDeInitMcu()
290 vref = AdcReadChannel( &Adc, ADC_CHANNEL_VREFINT ); in BoardBatteryMeasureVoltage()
340 tempRaw = AdcReadChannel( &Adc, ADC_CHANNEL_TEMPSENSOR ); in BoardGetTemperature()
/loramac-node-latest/src/boards/mcu/saml21/saml21b/include/
Dsaml21e15b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21e17b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21e18b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21g16b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21g17b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21g18b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21e16b.h437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21j16b.h447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21j17b.h447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21j18b.h447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
Dsaml21j18bu.h447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
/loramac-node-latest/src/boards/mcu/saml21/saml21b/include/component/
Dadc.h722 } Adc; typedef