Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
atmel-sam0-gpio.h File Reference

Go to the source code of this file.

Macros

#define SAM0_GPIO_DEBOUNCE   (1U << 8)
 Enable GPIO pin debounce.
#define SAM0_GPIO_DRIVE_STRONG   (1U << 9)
 Enable stronger output drive (PORT PINCFG.DRVSTR).

Macro Definition Documentation

◆ SAM0_GPIO_DEBOUNCE

#define SAM0_GPIO_DEBOUNCE   (1U << 8)

Enable GPIO pin debounce.

The debounce flag is a Zephyr specific extension of the standard GPIO flags specified by the Linux GPIO binding. Only applicable for Atmel SAM0 SoCs.

◆ SAM0_GPIO_DRIVE_STRONG

#define SAM0_GPIO_DRIVE_STRONG   (1U << 9)

Enable stronger output drive (PORT PINCFG.DRVSTR).

Raises the pin's rated output current, e.g. from 2 mA to 8 mA at VDD >= 3.0 V on SAM D5x/E5x. Only meaningful for pins configured as outputs. Only applicable for Atmel SAM0 SoCs.