LCD_QSPIBoot/asw/pindef.h

79 lines
2.8 KiB
C
Raw Normal View History

2025-05-20 14:02:07 +08:00
/** ##########################################################################
** Filename :
** Project :
** Module :
** Processor :
** Version : 1.0
** Compiler :
** Date/Time :
** Abstract :
** Contents :
** Note :
*
* 1.UTF-8
* 2.tab键空格4个
* 3. init, deinit,
* task,goto sleep,
* goto wake ,judge_pre_sleep
* 4.
**
** (c) Copyright dmdz Co.,Ltd
** --------------------------------------------------------------------------
** R E V I S I O N H I S T O R Y
** --------------------------------------------------------------------------
** Date Ver Author Description
** -20191106- --V01-- --LYJ--- ----
** -20230602- --V1.0-- --mingyea--- ----
** #########################################################################*/
#ifndef __PINDEF_H__
#define __PINDEF_H__
/*---------------------------------------------------------------------------
- I N C L U D E F I L E S
----------------------------------------------------------------------------*/
#include "stm32l4xx_hal.h"
/*---------------------------------------------------------------------------
- D E F I N E S / M A C R O S
----------------------------------------------------------------------------*/
#define LED_Pin GPIO_PIN_13
#define LED_GPIO_Port GPIOC
#define LCD_RST_Pin GPIO_PIN_15
#define LCD_RST_GPIO_Port GPIOB
#define LCD_BL_Pin GPIO_PIN_6
#define LCD_BL_GPIO_Port GPIOC
#define LCD_DX_Pin GPIO_PIN_7
#define LCD_DX_GPIO_Port GPIOC
2025-05-26 10:37:37 +08:00
#define BOOTKEY_GPIO_Port GPIOH
#define BOOTKEY_Pin GPIO_PIN_3
2025-05-20 14:02:07 +08:00
/*---------------------------------------------------------------------------
- T Y P E D E F I N I T I O N S
----------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------
- G L O B A L V A R I A B L E S
- only configuration table allowed here,variables are not allowed!
----------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------
- C O N S T A N T S
----------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------
- F U N C T I O N P R O T O T Y P E
----------------------------------------------------------------------------*/
#endif /*DEFINES_NAME*/
/* [] END OF FILE */