Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
hwio_a3ides.h
Go to the documentation of this file.
1
// hwio_a3ides.h
2
3
#ifndef _HWIO_A3IDES_H
4
#define _HWIO_A3IDES_H
5
6
#include "
hwio.h
"
7
8
//a3ides digital inputs
9
#define _DI_Z_MIN 0 // PA8
10
#define _DI_E_DIAG 1 // PA15
11
#define _DI_Y_DIAG 2 // PE1
12
#define _DI_X_DIAG 3 // PE2
13
#define _DI_Z_DIAG 4 // PE3
14
#define _DI_BTN_ENC 5 // PE12
15
#define _DI_BTN_EN1 6 // PE13
16
#define _DI_BTN_EN2 7 // PE15
17
18
//a3ides digital outputs
19
#define _DO_X_DIR 0 // PD0
20
#define _DO_X_STEP 1 // PD1
21
#define _DO_Z_ENABLE 2 // PD2
22
#define _DO_X_ENABLE 3 // PD3
23
#define _DO_Z_STEP 4 // PD4
24
#define _DO_E_DIR 5 // PD8
25
#define _DO_E_STEP 6 // PD9
26
#define _DO_E_ENABLE 7 // PD10
27
#define _DO_Y_DIR 8 // PD12
28
#define _DO_Y_STEP 9 // PD13
29
#define _DO_Y_ENABLE 10 // PD14
30
#define _DO_Z_DIR 11 // PD15
31
32
//a3ides analog inputs
33
#define _ADC_HW_IDENTIFY 0 // PA3 - chan 3
34
#define _ADC_TEMP_BED 1 // PA4 - chan 4
35
#define _ADC_TEMP_2 2 // PA5 - chan 5
36
#define _ADC_TEMP_HEATBREAK 3 // PA6 - chan 6
37
#define _ADC_TEMP_0 4 // PC0 - chan 10
38
39
//a3ides pwm outputs
40
#define _PWM_HEATER_BED 0 //
41
#define _PWM_HEATER_0 1 //
42
#define _PWM_FAN1 2 //
43
#define _PWM_FAN 3 //
44
45
//a3ides fan control
46
#define _FAN 0 //
47
#define _FAN1 1 //
48
49
//a3ides heater control
50
#define _HEATER_0 0 //
51
#define _HEATER_BED 1 //
52
53
//a3ides pwm outputs
54
#define HWIO_PWM_HEATER_BED 0 //BED PWM
55
#define HWIO_PWM_HEATER_0 1 //NOZZLE PWM
56
#define HWIO_PWM_FAN1 2 //PRINT FAN?
57
#define HWIO_PWM_FAN 3 //NOZZLE FAN?
58
59
#endif // _HWIO_A3IDES_H
hwio.h
Prusa-Firmware-Buddy-Private1
src
common
hwio_a3ides.h
Generated by
1.8.16