no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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)
 
#define PORT(nb)
 

Variables

const struct no_os_gpio_platform_ops aducm_gpio_ops
 ADuCM3029 specific GPIO platform ops structure.
 

Macro Definition Documentation

◆ PIN

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

Get GPIO pin from GPIO number

◆ PORT

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

Get GPIO port from GPIO number

Variable Documentation

◆ aducm_gpio_ops

const struct no_os_gpio_platform_ops aducm_gpio_ops
extern

ADuCM3029 specific GPIO platform ops structure.

ADuCM3029 specific GPIO platform ops structure.