From 71c5552f9a7c2fbe27b860fafc295427955f25a1 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Mon, 12 Mar 2018 16:43:28 +0100 Subject: bsp/atsam: Allow setting the drive strength. This adds a simple function for setting the PIO drive strength. --- bsps/arm/atsam/include/libchip/include/pio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bsps/arm/atsam') diff --git a/bsps/arm/atsam/include/libchip/include/pio.h b/bsps/arm/atsam/include/libchip/include/pio.h index 6cf463d1ec..1e24b7321c 100644 --- a/bsps/arm/atsam/include/libchip/include/pio.h +++ b/bsps/arm/atsam/include/libchip/include/pio.h @@ -209,6 +209,8 @@ extern void PIO_DisableWriteProtect(const Pin *pin); extern void PIO_SetPinType(Pin *pin, uint8_t pinType); extern uint32_t PIO_GetWriteProtectViolationInfo(const Pin *pin); + +extern void PIO_SetDriveStrength(const Pin *pin, uint8_t strength); #ifdef __cplusplus } #endif -- cgit v1.2.3