Prusa MINI Firmware overview
|
#include "adc.h"
#include "stm32f4xx_hal.h"
◆ ADC_SIM_MSK
◆ ADC_READY()
◆ ADC_SEQ2IDX()
◆ Error_Handler()
This function is executed in case of error occurrence.
- Return values
-
◆ adc_init_sim_vals()
100 #endif //ADC_SIM_VAL0
103 #endif //ADC_SIM_VAL1
106 #endif //ADC_SIM_VAL2
109 #endif //ADC_SIM_VAL3
112 #endif //ADC_SIM_VAL4
115 #endif //ADC_SIM_VAL4
◆ adc_chan()
◆ adc_set_mux()
◆ adc_init()
◆ adc_cycle()
◆ hadc1
◆ adc_val
◆ adc_cnt
◆ adc_chn
◆ adc_sta
◆ adc_idx
◆ adc_sim_val
◆ adc_sim_msk
Definition: stm32f4xx_hal_def.h:57
void adc_init_sim_vals(void)
Definition: adc.c:97
HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc)
#define ADC_FLAG_EOC
Definition: stm32f4xx_hal_adc.h:430
void app_error(void)
Definition: appmain.cpp:145
#define ADC_SAMPLETIME_3CYCLES
Definition: stm32f4xx_hal_adc.h:370
uint32_t adc_sim_val[ADC_CHAN_CNT]
Definition: adc.c:23
uint8_t i
Definition: screen_test_graph.c:72
#define ADC_CHAN_MSK
Definition: config_a3ides2209_02.h:29
uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef *hadc)
uint32_t Channel
Definition: stm32f4xx_hal_adc.h:133
uint8_t adc_cnt[ADC_CHAN_CNT]
Definition: adc.c:18
uint32_t Rank
Definition: stm32f4xx_hal_adc.h:135
#define ADC_SEQ_LEN
Definition: config_a3ides2209_02.h:32
Structure definition of ADC channel for regular group.
Definition: stm32f4xx_hal_adc.h:131
uint8_t adc_chan(uint8_t idx)
Definition: adc.c:29
uint32_t adc_val[ADC_CHAN_CNT]
Definition: adc.c:17
#define ADC_SIM_VAL1
Definition: config_a3ides2209_02.h:38
uint32_t SamplingTime
Definition: stm32f4xx_hal_adc.h:137
ADC_HandleTypeDef hadc1
Definition: main.c:75
uint8_t ADC_SEQ2IDX(uint8_t seq)
const uint8_t[]
Definition: 404_html.c:3
#define ADC_OVRSAMPL
Definition: config_a3ides2209_02.h:31
#define ADC_SIM_VAL4
Definition: config_a3ides2209_02.h:41
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.c:1057
uint8_t adc_sta
Definition: adc.c:20
HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, ADC_ChannelConfTypeDef *sConfig)
int8_t adc_idx
Definition: adc.c:21
#define ADC_SIM_VAL2
Definition: config_a3ides2209_02.h:39
#define ADC_CHAN_CNT
Definition: config_a3ides2209_02.h:30
void adc_set_mux(uint8_t chn)
Definition: adc.c:42
uint8_t adc_chn[ADC_CHAN_CNT]
Definition: adc.c:19
uint32_t adc_sim_msk
Definition: adc.c:24
#define __HAL_ADC_GET_FLAG(__HANDLE__, __FLAG__)
Get the selected ADC's flag status.
Definition: stm32f4xx_hal_adc.h:515
void ADC_READY(uint8_t index)
#define ADC_SIM_VAL3
Definition: config_a3ides2209_02.h:40
#define ADC_SIM_VAL0
Definition: config_a3ides2209_02.h:37