XMC Peripheral Library for XMC4000 Family
XMC_GPIO_PORT_t Struct Reference

#include <xmc4_gpio.h>

Data Fields

__IO uint32_t HWSEL
 
__I uint32_t IN
 
__IO uint32_t IOCR [4]
 
__O uint32_t OMR
 
__IO uint32_t OUT
 
__IO uint32_t PDISC
 
__IO uint32_t PDR [2]
 
__IO uint32_t PPS
 

Detailed Description

Structure points port hardware registers. Use type XMC_GPIO_PORT_t for this structure.

Field Documentation

◆ HWSEL

__IO uint32_t HWSEL

Pin Hardware Select Register

◆ IN

__I uint32_t IN

The logic level of a GPIO pin can be read via the read-only port input register Pn_IN

◆ IOCR

__IO uint32_t IOCR[4]

The port input/output control registers select the digital output and input driver functionality and characteristics of a GPIO port pin

◆ OMR

__O uint32_t OMR

The port output modification register contains control bits that make it possible to individually set, reset, or toggle the logic state of a single port line

◆ OUT

__IO uint32_t OUT

The port output register determines the value of a GPIO pin when it is selected by Pn_IOCRx as output

◆ PDISC

__IO uint32_t PDISC

Pin Function Decision Control Register is to disable/enable the digital pad structure in shared analog and digital ports

◆ PDR

__IO uint32_t PDR[2]

Pad Driver Mode Registers

◆ PPS

__IO uint32_t PPS

Pin Power Save Register


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