MAX_CARLINK_A270S/MXC_A27-PCB4.5-270T/app/moto/protocol/gear_protocol.h

29 lines
432 B
C
Raw Normal View History

2025-01-21 16:49:37 +08:00
#ifndef GEAR_PROTOCOL_H
#define GEAR_PROTOCOL_H
enum
{
GPIO_N,
GPIO_D1,
GPIO_D2,
GPIO_D3,
GPIO_D4,
GPIO_D5,
GPIO_D6,
};
2025-02-12 14:05:53 +08:00
#define GPIO_GRADE_N 8
2025-01-21 16:49:37 +08:00
#define GPIO_GRADE_D1 9
#define GPIO_GRADE_D2 10
#define GPIO_GRADE_D3 11
#define GPIO_GRADE_D4 12
#define GPIO_GRADE_D5 13
#define GPIO_GRADE_D6 14
void grade_key(void);
void vTimerCallback(TimerHandle_t xTimer);
void Moto_gpio_timer(void);
#endif