Go to the documentation of this file.
49 #define N_PINS MXC_CFG_GPIO_PINS_PORT
50 #define N_PORTS MXC_CFG_GPIO_INSTANCES
@ NO_OS_PULL_DOWN
Definition: no_os_gpio.h:76
void * extra
Definition: no_os_gpio.h:112
Header file for maxim gpio specifics.
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
#define NO_OS_GPIO_OUT
Definition: no_os_gpio.h:53
enum no_os_gpio_pull_up pull
Definition: no_os_gpio.h:91
int32_t max_gpio_get_optional(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Get the value of an optional GPIO.
Definition: maxim_gpio.c:152
void no_os_udelay(uint32_t usecs)
Generate microseconds delay.
Definition: maxim_delay.c:60
Header file for maxim irq specifics.
@ NO_OS_GPIO_HIGH_Z
Definition: no_os_gpio.h:125
#define N_PORTS
Definition: maxim_gpio.h:50
Header file of IRQ interface.
int32_t max_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: maxim_gpio.c:72
Header file for maxim gpio specifics.
Header file of Delay functions.
int32_t max_gpio_direction_input(struct no_os_gpio_desc *desc)
Enable the input direction of the specified GPIO.
Definition: maxim_gpio.c:184
int32_t port
Definition: no_os_gpio.h:87
@ NO_OS_PULL_UP_WEAK
Definition: no_os_gpio.h:77
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:123
int32_t number
Definition: no_os_gpio.h:89
@ NO_OS_PULL_DOWN_WEAK
Definition: no_os_gpio.h:78
struct no_os_time no_os_get_time(void)
Get current time.
Definition: maxim_delay.c:79
Structure holding time data (seconds, microseconds).
Definition: no_os_delay.h:53
void * no_os_calloc(size_t nitems, size_t size)
#define NO_OS_GPIO_IN
Definition: no_os_gpio.h:54
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:72
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:121
Header file for maxim irq specifics.
void SysTick_Handler(void)
Definition: maxim_delay.c:49
Header file for maxim gpio specifics.
int32_t max_gpio_get_value(struct no_os_gpio_desc *desc, uint8_t *value)
Get the value of the specified GPIO.
Definition: maxim_gpio.c:303
Header file for maxim gpio specifics.
Header file for maxim irq specifics.
Header file for maxim gpio specifics.
int32_t max_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: maxim_gpio.c:206
int32_t max_gpio_get_direction(struct no_os_gpio_desc *desc, uint8_t *direction)
Get the direction of the specified GPIO.
Definition: maxim_gpio.c:240
int32_t port
Definition: no_os_gpio.h:104
int32_t max_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: maxim_gpio.c:266
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific GPIO platform ops structure
Definition: maxim_gpio.c:326
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:102
void no_os_mdelay(uint32_t msecs)
Generate miliseconds delay.
Definition: maxim_delay.c:70
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:63
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific gpio platform ops structure
Definition: maxim_gpio.c:326
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61
#define NO_OS_BIT(x)
Definition: no_os_util.h:51
void no_os_free(void *ptr)
unsigned int us
Definition: no_os_delay.h:54
enum no_os_gpio_pull_up pull
Definition: no_os_gpio.h:108
#define NULL
Definition: wrapper.h:64
Header file for maxim irq specifics.
unsigned int s
Definition: no_os_delay.h:54
@ NO_OS_PULL_UP
Definition: no_os_gpio.h:74
void * extra
Definition: no_os_gpio.h:95
Header file of GPIO Interface.
Header file for maxim irq specifics.
Header file of utility functions.
#define N_PINS
Definition: maxim_gpio.h:49
Header file for maxim irq specifics.
const struct no_os_irq_platform_ops max_gpio_irq_ops
maxim platform specific gpio irq platform ops structure
Definition: maxim_gpio_irq.c:370
int32_t number
Definition: no_os_gpio.h:106
Error macro definition for ARM Compiler.
Header file for maxim gpio specifics.
int32_t max_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: maxim_gpio.c:168