/**
 * @file GpioMiddle.h
 * @brief 中间层封装通用GPIO代码
 * @author Landworld0321 (Landworld@landworld.com)
 * @version V1.0
 * @date 2025-04-22
 * @copyright Copyright (c) 2025 by Landworld.Co.Ltd. All rights reserved
 */

#ifndef GPIOMIDDLE_H_
#define GPIOMIDDLE_H_

/*INCLUDE HEAD*********************************************************/
#include "CommonInc.h"

/*DEFINE *********************************************************/
//根据平台不同进行更改
#define GROUP_A 		PTA
#define GROUP_B 		PTB
#define GROUP_C 		PTC
#define GROUP_D 		PTD
#define GROUP_E 		PTE

/*FUNCTION DECLARATION*********************************************************/
void GpioMiddle_Init(void);
void GpioMiddle_SetPin(GPIO_Type *portGroup, UINT16 portNumber, UINT8 portState);

#endif 
