123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /**
- * \copyright
- * Copyright (c) 2018, Infineon Technologies AG
- * All rights reserved.
- *
- * This software is provided with terms and conditions as specified in OPTIGA(TM) Trust X Evaluation Kit License Agreement.
- * \endcopyright
- *
- * \author Infineon AG
- *
- * \file
- *
- * \brief This file implements the prototype declarations of pal gpio
- *
- * \addtogroup grPAL
- * @{
- */
- #ifndef _PAL_GPIO_H_
- #define _PAL_GPIO_H_
- /**********************************************************************************************************************
- * HEADER FILES
- *********************************************************************************************************************/
-
- #include "pal.h"
- /**********************************************************************************************************************
- * MACROS
- *********************************************************************************************************************/
- /**********************************************************************************************************************
- * ENUMS
- *********************************************************************************************************************/
- /**********************************************************************************************************************
- * DATA STRUCTURES
- *********************************************************************************************************************/
- /**
- * \brief Structure defines the PAL GPIO configuration.
- */
- typedef struct pal_gpio
- {
- /// Pointer to gpio platform specific context/structure
- void* p_gpio_hw;
- } pal_gpio_t;
- /**********************************************************************************************************************
- * API Prototypes
- *********************************************************************************************************************/
- #ifdef __cplusplus
- extern "C" {
- #endif
- /**
- * \brief Initializes the GPIO PAL.
- */
- void pal_gpio_init(void);
- /**
- * \brief Sets the gpio pin to high state.
- */
- void pal_gpio_set_high(const pal_gpio_t* p_gpio_context);
- /**
- * \brief Sets the gpio pin to Low state.
- */
- void pal_gpio_set_low(const pal_gpio_t* p_gpio_context);
- #ifdef __cplusplus
- }
- #endif
- #endif /* _PAL_GPIO_H_ */
- /**
- * @}
- */
|