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-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-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-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
|