OPTIGA™ Trust M
Host Library Documentation
pal_gpio.h
Go to the documentation of this file.
1 
38 #ifndef _PAL_GPIO_H_
39 #define _PAL_GPIO_H_
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #include "pal.h"
46 
47 
51 typedef struct pal_gpio
52 {
54  void * p_gpio_hw;
55 
57 
76 LIBRARY_EXPORTS void pal_gpio_set_high(const pal_gpio_t * p_gpio_context);
77 
95 LIBRARY_EXPORTS void pal_gpio_set_low(const pal_gpio_t * p_gpio_context);
96 
115 LIBRARY_EXPORTS pal_status_t pal_gpio_init(const pal_gpio_t * p_gpio_context);
116 
134 LIBRARY_EXPORTS pal_status_t pal_gpio_deinit(const pal_gpio_t * p_gpio_context);
135 
136 
137 #ifdef __cplusplus
138 }
139 #endif
140 
141 #endif /* _PAL_GPIO_H_ */
142 
pal_status_t
uint16_t pal_status_t
PAL return status.
Definition: examples/tools/protected_update_data_set/include/pal/pal_crypt.h:54
pal_gpio_t
struct pal_gpio pal_gpio_t
Structure defines the PAL GPIO configuration.
pal_gpio_set_high
LIBRARY_EXPORTS void pal_gpio_set_high(const pal_gpio_t *p_gpio_context)
Function to transmit and receive a packet.
pal_gpio_init
LIBRARY_EXPORTS pal_status_t pal_gpio_init(const pal_gpio_t *p_gpio_context)
Function to initialize GPIO.
pal_gpio_set_low
LIBRARY_EXPORTS void pal_gpio_set_low(const pal_gpio_t *p_gpio_context)
Sets the GPIO pin to Low state.
pal_gpio
Structure defines the PAL GPIO configuration.
Definition: pal_gpio.h:52
pal.h
This file provides the prototype declarations of platform abstraction layer.
pal_gpio::p_gpio_hw
void * p_gpio_hw
Pointer to GPIO platform specific context/structure.
Definition: pal_gpio.h:54
pal_gpio_deinit
LIBRARY_EXPORTS pal_status_t pal_gpio_deinit(const pal_gpio_t *p_gpio_context)
Function to de-initialize GPIO.