Prusa MINI Firmware overview
hwio_pindef.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------//
2 // pin names
3 #ifndef _HWIO_PINDEF_H
4 #define _HWIO_PINDEF_H
5 
6 #define PIN_BEEPER PA0
7 #define PIN_HW_IDENTIFY PA3
8 #define PIN_TEMP_BED PA4
9 #define PIN_THERM2 PA5
10 #define PIN_TEMP_HEATBREAK PA6
11 #define PIN_Z_MIN PA8
12 
13 #define PIN_HEATER_BED PB0
14 #define PIN_HEATER_0 PB1
15 
16 #define PIN_TEMP_0 PC0
17 
18 #define PIN_X_DIR PD0
19 #define PIN_X_STEP PD1
20 #define PIN_X_ENABLE PD3
21 #define PIN_X_DIAG PE2
22 
23 #define PIN_Y_DIR PD12
24 #define PIN_Y_STEP PD13
25 #define PIN_Y_ENABLE PD14
26 #define PIN_Y_DIAG PE1
27 
28 #define PIN_Z_DIR PD15
29 #define PIN_Z_STEP PD4
30 #define PIN_Z_ENABLE PD2
31 #define PIN_Z_DIAG PE3
32 
33 #define PIN_E_DIR PD8
34 #define PIN_E_STEP PD9
35 #define PIN_E_ENABLE PD10
36 #define PIN_E_DIAG PA15
37 
38 #define PIN_FAN1 PE9
39 #define PIN_FAN PE11
40 #define PIN_BTN_ENC PE12
41 #define PIN_BTN_EN1 PE13
42 #define PIN_BTN_EN2 PE15
43 
44 #define PIN_FSENSOR PB4
45 
46 #endif //_HWIO_PINDEF_H
is_pwm_id_valid
int is_pwm_id_valid(int i_pwm)
Definition: hwio_a3ides_2209_02.c:269
_DO_Z_STEP
#define _DO_Z_STEP
Definition: hwio_a3ides.h:23
PIN_X_DIR
#define PIN_X_DIR
Definition: hwio_pindef.h:18
PIN_E_DIR
#define PIN_E_DIR
Definition: hwio_pindef.h:33
hwio_adc_get_cnt
int hwio_adc_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:239
_DI_BTN_ENC
#define _DI_BTN_ENC
Definition: hwio_a3ides.h:14
_fan_val
int * _fan_val
Definition: hwio_a3ides_2209_02.c:156
PIN_E_ENABLE
#define PIN_E_ENABLE
Definition: hwio_pindef.h:35
sim_motion_get_min_end
int sim_motion_get_min_end(uint8_t axis)
PIN_FAN
#define PIN_FAN
Definition: hwio_pindef.h:39
filament_sensor.h
_DI_X_DIAG
#define _DI_X_DIAG
Definition: hwio_a3ides.h:12
PIN_TEMP_0
#define PIN_TEMP_0
Definition: hwio_pindef.h:16
TIM_Base_InitTypeDef::Period
uint32_t Period
Definition: stm32f4xx_hal_tim.h:71
HAL_PWM_Initialized
int HAL_PWM_Initialized
Definition: main.c:106
_heater_val
int * _heater_val
Definition: hwio_a3ides_2209_02.c:161
HWIO_PWM_HEATER_0
#define HWIO_PWM_HEATER_0
Definition: hwio_a3ides.h:55
hwio_pwm_set_prescaler_exp2
void hwio_pwm_set_prescaler_exp2(int i_pwm, int exp)
Definition: hwio_a3ides_2209_02.c:343
TIM_OCNPOLARITY_HIGH
#define TIM_OCNPOLARITY_HIGH
Definition: stm32f4xx_hal_tim.h:395
_heater_max
const int * _heater_max
Definition: hwio_a3ides_2209_02.c:159
_adc_val
int _adc_val[]
Definition: hwio_a3ides_2209_02.c:85
HAL_TIM_Base_Init
HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim)
hwio_beeper_notone
void hwio_beeper_notone(void)
Definition: hwio_a3ides_2209_02.c:535
sim_motion_get_diag
int sim_motion_get_diag(uint8_t axis)
_pwm_max
const int _pwm_max[]
Definition: hwio_a3ides_2209_02.c:135
HAL_OK
Definition: stm32f4xx_hal_def.h:57
__pwm_set_val
void __pwm_set_val(TIM_HandleTypeDef *htim, uint32_t chan, int val)
Definition: hwio_a3ides_2209_02.c:408
PIN_Z_DIAG
#define PIN_Z_DIAG
Definition: hwio_pindef.h:31
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition: main.c:1057
TIM_OCFAST_DISABLE
#define TIM_OCFAST_DISABLE
Definition: stm32f4xx_hal_tim.h:377
HAL_TIM_PWM_ConfigChannel
HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, uint32_t Channel)
_DI_Z_MIN
#define _DI_Z_MIN
Definition: hwio_a3ides.h:9
hwio_arduino_digitalToggle
void hwio_arduino_digitalToggle(uint32_t ulPin)
Definition: hwio_a3ides_2209_02.c:774
hwio_beeper_tone
void hwio_beeper_tone(float frq, uint32_t del)
Definition: hwio_a3ides_2209_02.c:514
_DI_Y_DIAG
#define _DI_Y_DIAG
Definition: hwio_a3ides.h:11
hwio_adc_get_max
int hwio_adc_get_max(int i_adc)
Definition: hwio_a3ides_2209_02.c:242
adc_seq
const uint8_t adc_seq[18]
Definition: hwio_a3ides_2209_02.c:553
_PWM_CNT
#define _PWM_CNT
Definition: hwio_a3ides_2209_02.c:136
_hwio_pwm_analogWrite_set_val
void _hwio_pwm_analogWrite_set_val(int i_pwm, int val)
Definition: hwio_a3ides_2209_02.c:429
hwio_do_set_val
void hwio_do_set_val(int i_do, int val)
Definition: hwio_a3ides_2209_02.c:223
HWIO_ERR_UNDEF_ANA_RD
#define HWIO_ERR_UNDEF_ANA_RD
Definition: hwio_a3ides_2209_02.c:27
TIM_Base_InitTypeDef::ClockDivision
uint32_t ClockDivision
Definition: stm32f4xx_hal_tim.h:75
hwio_fan_set_pwm
void hwio_fan_set_pwm(int i_fan, int val)
Definition: hwio_a3ides_2209_02.c:447
PIN_HEATER_0
#define PIN_HEATER_0
Definition: hwio_pindef.h:14
_HEATER_ID_MAX
#define _HEATER_ID_MAX
Definition: hwio_a3ides_2209_02.c:98
hwio_update_1ms
void hwio_update_1ms(void)
Definition: hwio_a3ides_2209_02.c:539
PIN_BTN_EN2
#define PIN_BTN_EN2
Definition: hwio_pindef.h:42
sim_nozzle.h
hwio_pwm_set_val
void hwio_pwm_set_val(int i_pwm, int val)
Definition: hwio_a3ides_2209_02.c:376
hwio_dac_get_cnt
int hwio_dac_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:256
_do_pin32
const uint32_t _do_pin32[]
Definition: hwio_a3ides_2209_02.c:57
_DO_Y_STEP
#define _DO_Y_STEP
Definition: hwio_a3ides.h:28
HWIO_ERR_UNDEF_DIG_WR
#define HWIO_ERR_UNDEF_DIG_WR
Definition: hwio_a3ides_2209_02.c:26
hwio_jogwheel_enabled
int hwio_jogwheel_enabled
Definition: hwio_a3ides_2209_02.c:176
TIM_OC_InitTypeDef::OCPolarity
uint32_t OCPolarity
Definition: stm32f4xx_hal_tim.h:100
bsod.h
_DI_CNT
#define _DI_CNT
Definition: hwio_a3ides_2209_02.c:54
_ADC_TEMP_HEATBREAK
#define _ADC_TEMP_HEATBREAK
Definition: hwio_a3ides.h:36
hwio_di_get_val
int hwio_di_get_val(int i_di)
Definition: hwio_a3ides_2209_02.c:196
_adc_max
const int _adc_max[]
Definition: hwio_a3ides_2209_02.c:82
htim2
TIM_HandleTypeDef htim2
Definition: main.c:86
_HEATER_ID_MIN
#define _HEATER_ID_MIN
Definition: hwio_a3ides_2209_02.c:97
TIM_OCIDLESTATE_RESET
#define TIM_OCIDLESTATE_RESET
Definition: stm32f4xx_hal_tim.h:405
timer_defaults.h
TIM_OC_InitTypeDef::OCFastMode
uint32_t OCFastMode
Definition: stm32f4xx_hal_tim.h:107
_DO_X_STEP
#define _DO_X_STEP
Definition: hwio_a3ides.h:20
HWIO_ERR_UNDEF_ANA_WR
#define HWIO_ERR_UNDEF_ANA_WR
Definition: hwio_a3ides_2209_02.c:28
adc.h
sim_motion_set_dir
void sim_motion_set_dir(uint8_t axis, int state)
htim1
TIM_HandleTypeDef htim1
Definition: main.c:85
PIN_TEMP_BED
#define PIN_TEMP_BED
Definition: hwio_pindef.h:8
hwio_beeper_set_pwm
void hwio_beeper_set_pwm(uint32_t per, uint32_t pul)
Definition: hwio_a3ides_2209_02.c:491
hwio_pwm_get_period_us
int hwio_pwm_get_period_us(int i_pwm)
Definition: hwio_a3ides_2209_02.c:300
sim_bed.h
hwio_heater_set_pwm
void hwio_heater_set_pwm(int i_heater, int val)
Definition: hwio_a3ides_2209_02.c:459
TIM_Base_InitTypeDef::CounterMode
uint32_t CounterMode
Definition: stm32f4xx_hal_tim.h:68
_ADC_CNT
#define _ADC_CNT
Definition: hwio_a3ides_2209_02.c:83
_DO_Y_DIR
#define _DO_Y_DIR
Definition: hwio_a3ides.h:27
HAL_ADC_Initialized
int HAL_ADC_Initialized
Definition: main.c:105
TIM_OCMODE_PWM1
#define TIM_OCMODE_PWM1
Definition: stm32f4xx_hal_tim.h:365
hwio_beeper_vol
float hwio_beeper_vol
Definition: hwio_a3ides_2209_02.c:178
TIM_OC_InitTypeDef
TIM Output Compare Configuration Structure definition.
Definition: stm32f4xx_hal_tim.h:92
F
#define F(str)
Definition: UHS_macros.h:164
TIM_CHANNEL_3
#define TIM_CHANNEL_3
Definition: stm32f4xx_hal_tim.h:424
_DO_CNT
#define _DO_CNT
Definition: hwio_a3ides_2209_02.c:71
HAL_GPIO_Initialized
int HAL_GPIO_Initialized
Definition: main.c:104
hwio_arduino_digitalRead
int hwio_arduino_digitalRead(uint32_t ulPin)
Definition: hwio_a3ides_2209_02.c:619
hwio_dac_set_val
void hwio_dac_set_val(int i_dac, int val)
Definition: hwio_a3ides_2209_02.c:262
_DI_BTN_EN2
#define _DI_BTN_EN2
Definition: hwio_a3ides.h:16
PIN_Z_MIN
#define PIN_Z_MIN
Definition: hwio_pindef.h:11
HWIO_ERR_UNINI_DIG_WR
#define HWIO_ERR_UNINI_DIG_WR
Definition: hwio_a3ides_2209_02.c:22
adc_ready
void adc_ready(uint8_t index)
Definition: hwio_a3ides_2209_02.c:548
gpio_get
static int gpio_get(uint8_t pin8)
Definition: gpio.h:94
_DI_Z_DIAG
#define _DI_Z_DIAG
Definition: hwio_a3ides.h:13
TIM_CLOCKDIVISION_DIV1
#define TIM_CLOCKDIVISION_DIV1
Definition: stm32f4xx_hal_tim.h:351
HWIO_PWM_HEATER_BED
#define HWIO_PWM_HEATER_BED
Definition: hwio_a3ides.h:54
PIN_HW_IDENTIFY
#define PIN_HW_IDENTIFY
Definition: hwio_pindef.h:7
_DO_Z_DIR
#define _DO_Z_DIR
Definition: hwio_a3ides.h:30
_tim1_period_us
int _tim1_period_us
Definition: hwio_a3ides_2209_02.c:102
PIN_BTN_EN1
#define PIN_BTN_EN1
Definition: hwio_pindef.h:41
HAL_TIM_PWM_Start
HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
PIN_BEEPER
#define PIN_BEEPER
Definition: hwio_pindef.h:6
hwio_arduino_error
void hwio_arduino_error(int err, uint32_t pin32)
Definition: hwio_a3ides_2209_02.c:565
_FAN_CNT
#define _FAN_CNT
Definition: hwio_a3ides_2209_02.c:95
sim_motion_set_ena
void sim_motion_set_ena(uint8_t axis, int state)
PIN_Z_ENABLE
#define PIN_Z_ENABLE
Definition: hwio_pindef.h:30
hwio_beeper_tone2
void hwio_beeper_tone2(float frq, uint32_t del, float vol)
Definition: hwio_a3ides_2209_02.c:530
hwio_adc_get_val
int hwio_adc_get_val(int i_adc)
Definition: hwio_a3ides_2209_02.c:245
hwio_do_get_val
int hwio_do_get_val(int i_do)
Definition: hwio_a3ides_2209_02.c:216
PIN_Y_DIAG
#define PIN_Y_DIAG
Definition: hwio_pindef.h:26
hwio_pwm_set_prescaler
void hwio_pwm_set_prescaler(int i_pwm, int prescaler)
Definition: hwio_a3ides_2209_02.c:306
_DO_Y_ENABLE
#define _DO_Y_ENABLE
Definition: hwio_a3ides.h:29
_hwio_pwm_set_val
void _hwio_pwm_set_val(int i_pwm, int val)
Definition: hwio_a3ides_2209_02.c:397
hwio_pwm_get_prescaler_log2
int hwio_pwm_get_prescaler_log2(int i_pwm)
Definition: hwio_a3ides_2209_02.c:349
sim_nozzle_set_power
void sim_nozzle_set_power(float P)
Definition: sim_nozzle.c:57
hwio_arduino_digitalWrite
void hwio_arduino_digitalWrite(uint32_t ulPin, uint32_t ulVal)
Definition: hwio_a3ides_2209_02.c:661
hwio_jogwheel_disable
void hwio_jogwheel_disable(void)
Definition: hwio_a3ides_2209_02.c:472
PIN_TEMP_HEATBREAK
#define PIN_TEMP_HEATBREAK
Definition: hwio_pindef.h:10
sim_motion_set_stp
void sim_motion_set_stp(uint8_t axis, int state)
HWIO_PWM_FAN1
#define HWIO_PWM_FAN1
Definition: hwio_a3ides.h:56
TIM_CHANNEL_2
#define TIM_CHANNEL_2
Definition: stm32f4xx_hal_tim.h:423
adc_val
uint32_t adc_val[ADC_CHAN_CNT]
Definition: adc.c:17
_HEATER_CNT
#define _HEATER_CNT
Definition: hwio_a3ides_2209_02.c:99
sim_bed_set_power
void sim_bed_set_power(float P)
Definition: sim_bed.c:51
TIM_CHANNEL_4
#define TIM_CHANNEL_4
Definition: stm32f4xx_hal_tim.h:425
hwio_pwm_set_period_us
void hwio_pwm_set_period_us(int i_pwm, int T_us)
Definition: hwio_a3ides_2209_02.c:285
PIN_Z_STEP
#define PIN_Z_STEP
Definition: hwio_pindef.h:29
hwio_di_get_cnt
int hwio_di_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:193
TIM_OCNIDLESTATE_RESET
#define TIM_OCNIDLESTATE_RESET
Definition: stm32f4xx_hal_tim.h:414
_DO_E_DIR
#define _DO_E_DIR
Definition: hwio_a3ides.h:24
TIM_HandleTypeDef::Instance
TIM_TypeDef * Instance
Definition: stm32f4xx_hal_tim.h:289
_FAN_ID_MIN
#define _FAN_ID_MIN
Definition: hwio_a3ides_2209_02.c:93
TIM_COUNTERMODE_DOWN
#define TIM_COUNTERMODE_DOWN
Definition: stm32f4xx_hal_tim.h:340
sim_motion.h
TIM_CHANNEL_1
#define TIM_CHANNEL_1
Definition: stm32f4xx_hal_tim.h:422
PIN_HEATER_BED
#define PIN_HEATER_BED
Definition: hwio_pindef.h:13
gpio.h
PIN_Y_STEP
#define PIN_Y_STEP
Definition: hwio_pindef.h:24
_pwm_chan
const uint32_t _pwm_chan[]
Definition: hwio_a3ides_2209_02.c:113
_tim3_period_us
int _tim3_period_us
Definition: hwio_a3ides_2209_02.c:103
sConfigOC_default
const TIM_OC_InitTypeDef sConfigOC_default
Definition: hwio_a3ides_2209_02.c:138
PIN_Y_DIR
#define PIN_Y_DIR
Definition: hwio_pindef.h:23
TIM3_default_Period
#define TIM3_default_Period
Definition: timer_defaults.h:13
hwio_dac_get_max
int hwio_dac_get_max(int i_dac)
Definition: hwio_a3ides_2209_02.c:259
hwio_heater_get_cnt
int hwio_heater_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:456
HWIO_PWM_FAN
#define HWIO_PWM_FAN
Definition: hwio_a3ides.h:57
uint8_t
const uint8_t[]
Definition: 404_html.c:3
PIN_X_ENABLE
#define PIN_X_ENABLE
Definition: hwio_pindef.h:20
_dac_max
const int _dac_max[]
Definition: hwio_a3ides_2209_02.c:90
PIN_Y_ENABLE
#define PIN_Y_ENABLE
Definition: hwio_pindef.h:25
TIM_Base_InitTypeDef::Prescaler
uint32_t Prescaler
Definition: stm32f4xx_hal_tim.h:65
_dac_pin32
const uint32_t _dac_pin32[]
Definition: hwio_a3ides_2209_02.c:88
TIM1_default_Period
#define TIM1_default_Period
Definition: timer_defaults.h:11
_pwm_get_chan
uint32_t _pwm_get_chan(int i_pwm)
Definition: hwio_a3ides_2209_02.c:363
_DO_X_ENABLE
#define _DO_X_ENABLE
Definition: hwio_a3ides.h:22
TIM_OC_InitTypeDef::Pulse
uint32_t Pulse
Definition: stm32f4xx_hal_tim.h:97
PIN_E_STEP
#define PIN_E_STEP
Definition: hwio_pindef.h:34
TIM3_default_Prescaler
#define TIM3_default_Prescaler
Definition: timer_defaults.h:12
TIM_OC_InitTypeDef::OCMode
uint32_t OCMode
Definition: stm32f4xx_hal_tim.h:94
hwio_beeper_get_vol
float hwio_beeper_get_vol(void)
Definition: hwio_a3ides_2209_02.c:479
PIN_X_STEP
#define PIN_X_STEP
Definition: hwio_pindef.h:19
_pwm_analogWrite_val
int _pwm_analogWrite_val[_PWM_CNT]
Definition: hwio_a3ides_2209_02.c:151
_FAN_ID_MAX
#define _FAN_ID_MAX
Definition: hwio_a3ides_2209_02.c:94
hwio_arduino_analogWrite
void hwio_arduino_analogWrite(uint32_t ulPin, uint32_t ulValue)
Definition: hwio_a3ides_2209_02.c:796
hwio_pwm_get_max
int hwio_pwm_get_max(int i_pwm)
Definition: hwio_a3ides_2209_02.c:276
hwio_arduino_pinMode
void hwio_arduino_pinMode(uint32_t ulPin, uint32_t ulMode)
Definition: hwio_a3ides_2209_02.c:820
stm32f4xx_hal.h
This file contains all the functions prototypes for the HAL module driver.
PIN_THERM2
#define PIN_THERM2
Definition: hwio_pindef.h:9
TIM_OCPOLARITY_HIGH
#define TIM_OCPOLARITY_HIGH
Definition: stm32f4xx_hal_tim.h:386
HAL_TIM_PWM_Stop
HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
PIN_E_DIAG
#define PIN_E_DIAG
Definition: hwio_pindef.h:36
hwio_beeper_del
uint32_t hwio_beeper_del
Definition: hwio_a3ides_2209_02.c:179
gpio_set
static void gpio_set(uint8_t pin8, int state)
Definition: gpio.h:98
TIM_OCPOLARITY_LOW
#define TIM_OCPOLARITY_LOW
Definition: stm32f4xx_hal_tim.h:387
bsod
#define bsod(fmt,...)
Definition: bsod.h:20
TIM_HandleTypeDef
TIM Time Base Handle Structure definition.
Definition: stm32f4xx_hal_tim.h:287
PIN_X_DIAG
#define PIN_X_DIAG
Definition: hwio_pindef.h:21
_DO_Z_ENABLE
#define _DO_Z_ENABLE
Definition: hwio_a3ides.h:21
hwio_fan_get_cnt
int hwio_fan_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:444
_DAC_CNT
#define _DAC_CNT
Definition: hwio_a3ides_2209_02.c:91
PIN_FAN1
#define PIN_FAN1
Definition: hwio_pindef.h:38
htim3
TIM_HandleTypeDef htim3
Definition: main.c:87
TIM_HandleTypeDef::Init
TIM_Base_InitTypeDef Init
Definition: stm32f4xx_hal_tim.h:290
__HAL_TIM_GET_COMPARE
#define __HAL_TIM_GET_COMPARE(__HANDLE__, __CHANNEL__)
Gets the TIM Capture Compare Register value on runtime.
Definition: stm32f4xx_hal_tim.h:1132
config.h
_DO_E_STEP
#define _DO_E_STEP
Definition: hwio_a3ides.h:25
_fan_max
const int * _fan_max
Definition: hwio_a3ides_2209_02.c:154
_ADC_TEMP_0
#define _ADC_TEMP_0
Definition: hwio_a3ides.h:37
hwio_pwm_get_prescaler
int hwio_pwm_get_prescaler(int i_pwm)
Definition: hwio_a3ides_2209_02.c:327
hwio_pindef.h
HWIO_ERR_UNINI_DIG_RD
#define HWIO_ERR_UNINI_DIG_RD
Definition: hwio_a3ides_2209_02.c:21
HWIO_ERR_UNINI_ANA_RD
#define HWIO_ERR_UNINI_ANA_RD
Definition: hwio_a3ides_2209_02.c:23
hwio_a3ides.h
_di_pin32
const uint32_t _di_pin32[]
Definition: hwio_a3ides_2209_02.c:44
_ADC_TEMP_BED
#define _ADC_TEMP_BED
Definition: hwio_a3ides.h:34
_DI_BTN_EN1
#define _DI_BTN_EN1
Definition: hwio_a3ides.h:15
hwio_pwm_get_cnt
int hwio_pwm_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:273
PIN_Z_DIR
#define PIN_Z_DIR
Definition: hwio_pindef.h:28
GEN_PERIOD_US
#define GEN_PERIOD_US(prescaler, period)
Definition: timer_defaults.h:16
__HAL_TIM_SET_PRESCALER
#define __HAL_TIM_SET_PRESCALER(__HANDLE__, __PRESC__)
Set the TIM Prescaler on runtime.
Definition: stm32f4xx_hal_tim.h:1077
_adc_pin32
const uint32_t _adc_pin32[]
Definition: hwio_a3ides_2209_02.c:74
adc_seq2idx
uint8_t adc_seq2idx(uint8_t seq)
Definition: hwio_a3ides_2209_02.c:554
adc_sim_msk
uint32_t adc_sim_msk
Definition: adc.c:24
TIM_BASE_CLK_MHZ
#define TIM_BASE_CLK_MHZ
Definition: timer_defaults.h:6
TIM1_default_Prescaler
#define TIM1_default_Prescaler
Definition: timer_defaults.h:10
HWIO_ERR_UNINI_ANA_WR
#define HWIO_ERR_UNINI_ANA_WR
Definition: hwio_a3ides_2209_02.c:24
HWIO_ERR_UNDEF_DIG_RD
#define HWIO_ERR_UNDEF_DIG_RD
Definition: hwio_a3ides_2209_02.c:25
_pwm_get_htim
TIM_HandleTypeDef * _pwm_get_htim(int i_pwm)
Definition: hwio_a3ides_2209_02.c:369
cmsis_os.h
Header of cmsis_os.c A new set of APIs are added in addition to existing ones, these APIs are specifi...
hwio_jogwheel_enable
void hwio_jogwheel_enable(void)
Definition: hwio_a3ides_2209_02.c:468
_DI_E_DIAG
#define _DI_E_DIAG
Definition: hwio_a3ides.h:10
_DO_X_DIR
#define _DO_X_DIR
Definition: hwio_a3ides.h:19
PIN_BTN_ENC
#define PIN_BTN_ENC
Definition: hwio_pindef.h:40
_DO_E_ENABLE
#define _DO_E_ENABLE
Definition: hwio_a3ides.h:26
_pwm_p_htim
TIM_HandleTypeDef * _pwm_p_htim[]
Definition: hwio_a3ides_2209_02.c:120
_pwm_analogWrite_max
const int _pwm_analogWrite_max[_PWM_CNT]
Definition: hwio_a3ides_2209_02.c:149
hwio_do_get_cnt
int hwio_do_get_cnt(void)
Definition: hwio_a3ides_2209_02.c:213
hwio_arduino_analogRead
uint32_t hwio_arduino_analogRead(uint32_t ulPin)
Definition: hwio_a3ides_2209_02.c:779
_pwm_period_us
int *const _pwm_period_us[]
Definition: hwio_a3ides_2209_02.c:127
hwio_beeper_set_vol
void hwio_beeper_set_vol(float vol)
Definition: hwio_a3ides_2209_02.c:483
_pwm_pin32
const uint32_t _pwm_pin32[]
Definition: hwio_a3ides_2209_02.c:106