Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
mtk_pinctrl_controller Struct Reference

This structure defines the GPIO interface controller. More...

#include <mhal_gpio.h>

Data Fields

void __iomem * base [MHAL_GPIO_REG_BASE_MAX]
 GPIO controller base address.
 
unsigned int gpio_mode_bits
 The number of gpio mode in per reg. More...
 
unsigned int max_gpio_mode_per_reg
 The max gpio mode in per reg. More...
 
unsigned char port_shf
 The shift between two registers. More...
 
unsigned char port_mask
 The mask of register. More...
 
unsigned int pinmux_offset
 The pinmux register offset. More...
 

Detailed Description

This structure defines the GPIO interface controller.

Field Documentation

unsigned int gpio_mode_bits

The number of gpio mode in per reg.

unsigned int max_gpio_mode_per_reg

The max gpio mode in per reg.

unsigned char port_shf

The shift between two registers.

unsigned char port_mask

The mask of register.

unsigned int pinmux_offset

The pinmux register offset.


The documentation for this struct was generated from the following file: