/loramac-node-latest/src/boards/mcu/saml21/hri/ |
D | hri_adc_l21.h | 86 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/ |
D | board.c | 60 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/ |
D | board.c | 67 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/ |
D | board.c | 60 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/ |
D | board.c | 63 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/ |
D | board.c | 63 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/ |
D | board.c | 60 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/ |
D | board.c | 63 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/ |
D | saml21e15b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21e17b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21e18b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21g16b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21g17b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21g18b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21e16b.h | 437 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21j16b.h | 447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21j17b.h | 447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21j18b.h | 447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
D | saml21j18bu.h | 447 #define ADC ((Adc *)0x43000C00UL) /**< \brief (ADC) APB Base Address */
|
/loramac-node-latest/src/boards/mcu/saml21/saml21b/include/component/ |
D | adc.h | 722 } Adc; typedef
|