ADC is set to sleep or awake.
351 const porta_pin_def *ref_locale,*ref_locale_ResBuffer,*ref_locale_ResBuffer_;
353if ( ADC_ON_1_OFF_0_NOP_GT1 <= 2){
361 if(ADC_ON_1_OFF_0_NOP_GT1==1){
364 GPIO_PinWrite(ref_locale_ResBuffer->porta_num, ref_locale_ResBuffer->pin_num, 0);
365 GPIO_PinWrite(ref_locale_ResBuffer_->porta_num, ref_locale_ResBuffer_->pin_num, 0);
366 }
else if (ADC_ON_1_OFF_0_NOP_GT1==0){
369 GPIO_PinWrite(ref_locale_ResBuffer->porta_num, ref_locale_ResBuffer->pin_num, 1);
370 GPIO_PinWrite(ref_locale_ResBuffer_->porta_num, ref_locale_ResBuffer_->pin_num, 1);
371 }
else if (ADC_ON_1_OFF_0_NOP_GT1==2){
374 GPIO_PinWrite(ref_locale_ResBuffer->porta_num, ref_locale_ResBuffer->pin_num, 0);
375 GPIO_PinWrite(ref_locale_ResBuffer_->porta_num, ref_locale_ResBuffer_->pin_num, 0);
void ADC_sleep_ON_OFF(uint8_t up_down, uint8_t ADC_ON_1_OFF_0_NOP_GT1)
ADC is set to sleep or awake.
void ADC_Sleep_fun(uint8_t up_down)
ADC is sent to sleep mode.
void ADC_Wakeup(uint8_t up_down)
ADC Wakeup and 24 bits reading.
const porta_pin_def ADC_ResIn_A_buffer_down
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
const porta_pin_def ADC_ResIn_A_buffer_up
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
const porta_pin_def ADC_ResIn_B_buffer_down
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
const porta_pin_def ADC_ResIn_B_buffer_up
Refernce to fgnd of theADC input buffer, if 1 there is a 10kOhm connected to GND.
#define I2C_mux_Scheda_giu
Selection of the I2C1 for lower board (purtroppo \'e contorto)
#define I2C_mux_Scheda_su
Selection of the I2C0 for the upper board (purtroppo \'e contorto)