no-OS
Macros | Variables
aducm3029_gpio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PIN(nb)   (1u << ((nb) & 0x0F))
 
#define PORT(nb)   (((nb) & 0xF0) >> 4)
 

Variables

const struct no_os_gpio_platform_ops aducm_gpio_ops
 ADuCM3029 specific GPIO platform ops structure. More...
 

Macro Definition Documentation

◆ PIN

#define PIN (   nb)    (1u << ((nb) & 0x0F))

Get GPIO pin from GPIO number

◆ PORT

#define PORT (   nb)    (((nb) & 0xF0) >> 4)

Get GPIO port from GPIO number

Variable Documentation

◆ aducm_gpio_ops

const struct no_os_gpio_platform_ops aducm_gpio_ops

ADuCM3029 specific GPIO platform ops structure.

ADuCM3029 specific GPIO platform ops structure.