no-OS
maxim_gpio.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef MAXIM_GPIO_H_
40 #define MAXIM_GPIO_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 
46 #include <stdbool.h>
47 #include <stdint.h>
48 #include "no_os_irq.h"
49 #include "no_os_gpio.h"
50 #include "max32670.h"
51 #include "gpio.h"
52 
53 /******************************************************************************/
54 /********************** Macros an Constants Definitions ***********************/
55 /******************************************************************************/
56 
57 #define N_PINS MXC_CFG_GPIO_PINS_PORT
58 #define N_PORTS MXC_CFG_GPIO_INSTANCES
59 
60 /******************************************************************************/
61 /*************************** Types Declarations *******************************/
62 /******************************************************************************/
63 
67 extern const struct no_os_gpio_platform_ops max_gpio_ops;
68 
72 extern const struct no_os_irq_platform_ops max_gpio_irq_ops;
73 
77 struct max_gpio_init_param {
79  mxc_gpio_vssel_t vssel;
80 };
81 
82 #endif
no_os_irq.h
Header file of IRQ interface.
max_gpio_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:63
max_gpio_ops
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific gpio platform ops structure
Definition: maxim_gpio.c:326
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61
no_os_gpio_platform_ops
Structure holding gpio function pointers that point to the platform specific function.
Definition: no_os_gpio.h:133
no_os_gpio.h
Header file of GPIO Interface.
no_os_irq_platform_ops
Structure holding IRQ function pointers that point to the platform specific function.
Definition: no_os_irq.h:166
max_gpio_irq_ops
const struct no_os_irq_platform_ops max_gpio_irq_ops
maxim platform specific gpio irq platform ops structure
Definition: maxim_gpio_irq.c:381