no-OS
maxim_gpio.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef MAXIM_GPIO_H_
34 #define MAXIM_GPIO_H_
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 
40 #include <stdbool.h>
41 #include <stdint.h>
42 #include "no_os_irq.h"
43 #include "no_os_gpio.h"
44 #include "max32670.h"
45 #include "gpio.h"
46 
47 /******************************************************************************/
48 /********************** Macros an Constants Definitions ***********************/
49 /******************************************************************************/
50 
51 #define N_PINS MXC_CFG_GPIO_PINS_PORT
52 #define N_PORTS MXC_CFG_GPIO_INSTANCES
53 
54 /******************************************************************************/
55 /*************************** Types Declarations *******************************/
56 /******************************************************************************/
57 
61 extern const struct no_os_gpio_platform_ops max_gpio_ops;
62 
66 extern const struct no_os_irq_platform_ops max_gpio_irq_ops;
67 
71 struct max_gpio_init_param {
73  mxc_gpio_vssel_t vssel;
74 };
75 
76 #endif
no_os_irq.h
Header file of IRQ interface.
max_gpio_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:57
max_gpio_ops
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific gpio platform ops structure
Definition: maxim_gpio.c:320
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
no_os_gpio_platform_ops
Structure holding gpio function pointers that point to the platform specific function.
Definition: no_os_gpio.h:127
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:160
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:375