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 
52 /******************************************************************************/
53 /********************** Macros an Constants Definitions ***********************/
54 /******************************************************************************/
55 
56 #define N_PINS MXC_CFG_GPIO_PINS_PORT
57 #define N_PORTS MXC_CFG_GPIO_INSTANCES
58 
59 /******************************************************************************/
60 /*************************** Types Declarations *******************************/
61 /******************************************************************************/
62 
66 extern const struct no_os_gpio_platform_ops max_gpio_ops;
67 
71 extern const struct no_os_irq_platform_ops max_gpio_irq_ops;
72 
76 struct max_gpio_init_param {
78  mxc_gpio_vssel_t vssel;
79 };
80 
81 #endif
no_os_irq.h
Header file of IRQ interface.
max_gpio_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:62
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:60
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:164
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:369