2021-10-02 21:59:34 -07:00
|
|
|
/*
|
|
|
|
* hellen_meta.h
|
|
|
|
*
|
|
|
|
* @date Oct 2, 2021
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2021
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-10-02 22:08:35 -07:00
|
|
|
#define H144_LS_1 GPIOG_7
|
|
|
|
#define H144_LS_2 GPIOG_8
|
|
|
|
#define H144_LS_3 GPIOD_11
|
|
|
|
#define H144_LS_4 GPIOD_10
|
|
|
|
#define H144_LS_5 GPIOD_9
|
|
|
|
#define H144_LS_6 GPIOF_12
|
|
|
|
|
2021-10-11 20:47:40 -07:00
|
|
|
#define H144_IGN_1 GPIOC_13
|
|
|
|
#define H144_IGN_2 GPIOE_5
|
|
|
|
#define H144_IGN_3 GPIOE_4
|
|
|
|
#define H144_IGN_4 GPIOE_3
|
|
|
|
#define H144_IGN_5 GPIOE_2
|
|
|
|
#define H144_IGN_6 GPIOB_8
|
|
|
|
|
2021-10-09 13:51:07 -07:00
|
|
|
#define H144_OUT_PWM1 GPIOD_13
|
|
|
|
#define H144_OUT_PWM2 GPIOC_6
|
|
|
|
#define H144_OUT_PWM3 GPIOC_7
|
|
|
|
#define H144_OUT_PWM4 GPIOC_8
|
|
|
|
#define H144_OUT_PWM5 GPIOC_9
|
|
|
|
#define H144_OUT_PWM6 GPIOD_14
|
|
|
|
#define H144_OUT_PWM7 GPIOD_15
|
|
|
|
#define H144_OUT_PWM8 GPIOD_12
|
|
|
|
|
|
|
|
|
2021-10-09 13:24:38 -07:00
|
|
|
#define H144_OUT_IO1 GPIOD_3
|
|
|
|
#define H144_OUT_IO2 GPIOA_9
|
|
|
|
#define H144_OUT_IO3 GPIOG_14
|
|
|
|
#define H144_OUT_IO4 GPIOG_5
|
|
|
|
#define H144_OUT_IO5 GPIOD_2
|
|
|
|
#define H144_OUT_IO6 GPIOG_11
|
|
|
|
#define H144_OUT_IO7 GPIOG_3
|
|
|
|
#define H144_OUT_IO8 GPIOG_4
|
|
|
|
#define H144_OUT_IO9 GPIOG_13
|
|
|
|
#define H144_OUT_IO10 GPIOG_12
|
|
|
|
#define H144_OUT_IO11 GPIOG_2
|
|
|
|
#define H144_OUT_IO12 GPIOA_8
|
|
|
|
#define H144_OUT_IO13 GPIOG_6
|
|
|
|
|
2021-10-10 18:46:26 -07:00
|
|
|
// A24
|
|
|
|
#define H144_IN_CRANK GPIOB_1
|
|
|
|
// A19
|
|
|
|
#define H144_IN_CAM GPIOA_6
|
|
|
|
// DIN5
|
|
|
|
#define H144_IN_VSS GPIOF_11
|
|
|
|
|
2021-10-09 20:34:33 -07:00
|
|
|
// IN_CLT AIN11 PC2
|
|
|
|
#define H144_IN_CLT EFI_ADC_12
|
|
|
|
#define H144_IN_IAT EFI_ADC_13
|
|
|
|
|
|
|
|
// IN_TPS AIN17 PA4
|
|
|
|
#define H144_IN_TPS EFI_ADC_4
|
|
|
|
|
2021-10-16 15:19:30 -07:00
|
|
|
#define H144_IN_PPS EFI_ADC_3
|
|
|
|
|
2021-10-12 17:53:00 -07:00
|
|
|
// IN_MAP1 AIN9 PC0
|
|
|
|
#define H144_IN_MAP1 EFI_ADC_10
|
|
|
|
|
2021-10-09 20:34:33 -07:00
|
|
|
#define H144_IN_AUX1 EFI_ADC_8
|
|
|
|
//
|
|
|
|
#define H144_IN_AUX2 EFI_ADC_14
|
|
|
|
|
2021-10-12 17:53:00 -07:00
|
|
|
#define H144_IN_O2S2 EFI_ADC_1
|
|
|
|
|
2021-10-11 20:47:40 -07:00
|
|
|
#define H144_IN_D_2 GPIOE_13
|
2021-10-11 21:02:49 -07:00
|
|
|
// A22
|
|
|
|
#define H144_IN_D_AUX3 GPIOC_5
|
2021-10-10 18:46:26 -07:00
|
|
|
#define H144_IN_D_AUX4 GPIOA_7
|
|
|
|
|
2021-10-02 21:59:34 -07:00
|
|
|
#define H176_LS_1 GPIOG_7
|
2021-10-07 14:35:27 -07:00
|
|
|
#define H176_LS_2 GPIOG_8
|
|
|
|
#define H176_LS_3 GPIOD_11
|
|
|
|
#define H176_LS_4 GPIOD_10
|
|
|
|
#define H176_LS_5 GPIOD_9
|
|
|
|
#define H176_LS_6 GPIOF_12
|
|
|
|
#define H176_LS_7 GPIOF_13
|
|
|
|
#define H176_LS_8 GPIOF_14
|
2021-10-02 21:59:34 -07:00
|
|
|
|
|
|
|
#define H176_OUT_PWM1 GPIOD_13
|
|
|
|
#define H176_OUT_PWM2 GPIOC_6
|
|
|
|
#define H176_OUT_PWM3 GPIOC_7
|
2021-10-07 14:35:27 -07:00
|
|
|
|
2021-10-07 14:48:01 -07:00
|
|
|
#define H176_OUT_IO9 GPIOI_1
|
|
|
|
#define H176_OUT_IO10 GPIOI_0
|
|
|
|
|
2021-10-09 13:51:07 -07:00
|
|
|
// same pins 144 and 176
|
2021-10-07 14:35:27 -07:00
|
|
|
#define H176_CAN_RX GPIOD_0
|
|
|
|
#define H176_CAN_TX GPIOD_1
|
2021-10-07 16:16:28 -07:00
|
|
|
|
|
|
|
#define H176_IN_A16 GPIOF_10
|