Prusa MINI Firmware overview
|
uint32_t adc_sim_val[ADC_CHAN_CNT]
Definition: adc.c:23
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
uint32_t adc_sim_msk
Definition: adc.c:24
#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
void adc_cycle(void)
Definition: adc.c:65
#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
void adc_cycle(void)
Definition: adc.c:65
#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 handle Structure definition.
Definition: stm32f4xx_hal_adc.h:208
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
uint32_t adc_val[ADC_CHAN_CNT]
Definition: adc.c:17
#define ADC_SIM_MSK
Definition: adc.c:6
This file contains all the functions prototypes for the HAL module driver.
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
void adc_init(void)
Definition: adc.c:53
void adc_init(void)
Definition: adc.c:53
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