Loading...
Searching...
No Matches
gpio_pad_ctrl_t Struct Reference

Memory layout of GPIO control register in pads bank 0. More...

Detailed Description

Memory layout of GPIO control register in pads bank 0.

Definition at line 290 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

uint32_t slew_rate_fast: 1
 set slew rate control to fast
 
uint32_t schmitt_trig_enable: 1
 enable Schmitt trigger
 
uint32_t pull_down_enable: 1
 enable pull down resistor
 
uint32_t pull_up_enable: 1
 enable pull up resistor
 
uint32_t drive_strength: 2
 GPIO driver strength.
 
uint32_t input_enable: 1
 enable as input
 
uint32_t output_disable: 1
 disable output, overwrite output enable from peripherals
 
uint32_t : 24
 24 bits reserved for future use
 

Field Documentation

◆ __pad0__

uint32_t gpio_pad_ctrl_t::__pad0__

24 bits reserved for future use

Definition at line 299 of file periph_cpu.h.

◆ drive_strength

uint32_t gpio_pad_ctrl_t::drive_strength

GPIO driver strength.

Definition at line 295 of file periph_cpu.h.

◆ input_enable

uint32_t gpio_pad_ctrl_t::input_enable

enable as input

Definition at line 296 of file periph_cpu.h.

◆ output_disable

uint32_t gpio_pad_ctrl_t::output_disable

disable output, overwrite output enable from peripherals

Definition at line 297 of file periph_cpu.h.

◆ pull_down_enable

uint32_t gpio_pad_ctrl_t::pull_down_enable

enable pull down resistor

Definition at line 293 of file periph_cpu.h.

◆ pull_up_enable

uint32_t gpio_pad_ctrl_t::pull_up_enable

enable pull up resistor

Definition at line 294 of file periph_cpu.h.

◆ schmitt_trig_enable

uint32_t gpio_pad_ctrl_t::schmitt_trig_enable

enable Schmitt trigger

Definition at line 292 of file periph_cpu.h.

◆ slew_rate_fast

uint32_t gpio_pad_ctrl_t::slew_rate_fast

set slew rate control to fast

Definition at line 291 of file periph_cpu.h.


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