Loading...
Searching...
No Matches
FIO_PORT_t Struct Reference

Fast GPIO register definition struct. More...

Detailed Description

Fast GPIO register definition struct.

Definition at line 46 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

__IO uint32_t DIR
 Direction: Output if corresponding bit is set, otherwise input.
 
uint32_t _reserved [3]
 12 bytes of reserved memory we don't need to access
 
__IO uint32_t MASK
 Set bits to ignore corresponding bits when accessing PIN, SET or CLR register of this port.
 
__IO uint32_t PIN
 The current state of each pin of this port is accessible here (regardless of direction): If bit is set input is high.
 
__IO uint32_t SET
 Output pins are set to high by setting the corresponding bit.
 
__IO uint32_t CLR
 Output pins are set to low by setting the corresponding bit.
 

Field Documentation

◆ _reserved

uint32_t FIO_PORT_t::_reserved[3]

12 bytes of reserved memory we don't need to access

Definition at line 50 of file periph_cpu.h.

◆ CLR

__IO uint32_t FIO_PORT_t::CLR

Output pins are set to low by setting the corresponding bit.

Definition at line 62 of file periph_cpu.h.

◆ DIR

__IO uint32_t FIO_PORT_t::DIR

Direction: Output if corresponding bit is set, otherwise input.

Definition at line 48 of file periph_cpu.h.

◆ MASK

__IO uint32_t FIO_PORT_t::MASK

Set bits to ignore corresponding bits when accessing PIN, SET or CLR register of this port.

Definition at line 54 of file periph_cpu.h.

◆ PIN

__IO uint32_t FIO_PORT_t::PIN

The current state of each pin of this port is accessible here (regardless of direction): If bit is set input is high.

Definition at line 58 of file periph_cpu.h.

◆ SET

__IO uint32_t FIO_PORT_t::SET

Output pins are set to high by setting the corresponding bit.

Definition at line 60 of file periph_cpu.h.


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