OPTIGA™ Trust M
Host Library Documentation
|
This file provides the prototype declarations of PAL GPIO. More...
#include "pal.h"
Go to the source code of this file.
Data Structures | |
struct | pal_gpio |
Structure defines the PAL GPIO configuration. More... | |
typedef struct pal_gpio | pal_gpio_t |
Structure defines the PAL GPIO configuration. More... | |
LIBRARY_EXPORTS void | pal_gpio_set_high (const pal_gpio_t *p_gpio_context) |
Function to transmit and receive a packet. More... | |
LIBRARY_EXPORTS void | pal_gpio_set_low (const pal_gpio_t *p_gpio_context) |
Sets the GPIO pin to Low state. More... | |
LIBRARY_EXPORTS pal_status_t | pal_gpio_init (const pal_gpio_t *p_gpio_context) |
Function to initialize GPIO. More... | |
LIBRARY_EXPORTS pal_status_t | pal_gpio_deinit (const pal_gpio_t *p_gpio_context) |
Function to de-initialize GPIO. More... | |
This file provides the prototype declarations of PAL GPIO.
Definition in file pal_gpio.h.
typedef struct pal_gpio pal_gpio_t |
Structure defines the PAL GPIO configuration.
LIBRARY_EXPORTS pal_status_t pal_gpio_deinit | ( | const pal_gpio_t * | p_gpio_context | ) |
Function to de-initialize GPIO.
Function to de-initialize GPIO.
[in] | p_gpio_context | Valid pointer to PAL layer GPIO context |
PAL_STATUS_SUCCESS | On successful execution |
PAL_STATUS_FAILURE | On failure |
LIBRARY_EXPORTS pal_status_t pal_gpio_init | ( | const pal_gpio_t * | p_gpio_context | ) |
Function to initialize GPIO.
Function to initialize GPIO.
[in] | p_gpio_context | Valid pointer to PAL layer GPIO context |
PAL_STATUS_SUCCESS | On successful execution |
PAL_STATUS_FAILURE | On failure |
LIBRARY_EXPORTS void pal_gpio_set_high | ( | const pal_gpio_t * | p_gpio_context | ) |
Function to transmit and receive a packet.
Function to transmit and receive a packet.
[in] | p_gpio_context | Valid pointer to PAL layer GPIO context |
LIBRARY_EXPORTS void pal_gpio_set_low | ( | const pal_gpio_t * | p_gpio_context | ) |
Sets the GPIO pin to Low state.
Sets the GPIO pin to Low state.
[in] | p_gpio_context | Valid pointer to PAL layer GPIO context |