CARPLAY版本整理
This commit is contained in:
28
MXC_A27-PCB4.5-270T/app/moto/protocol/gear_protocol.h
Normal file
28
MXC_A27-PCB4.5-270T/app/moto/protocol/gear_protocol.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef GEAR_PROTOCOL_H
|
||||
#define GEAR_PROTOCOL_H
|
||||
|
||||
enum
|
||||
{
|
||||
GPIO_N,
|
||||
GPIO_D1,
|
||||
GPIO_D2,
|
||||
GPIO_D3,
|
||||
GPIO_D4,
|
||||
GPIO_D5,
|
||||
GPIO_D6,
|
||||
};
|
||||
|
||||
#define GPIO_GRADE_N 8
|
||||
#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
|
Reference in New Issue
Block a user