summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2018-03-12 16:43:28 +0100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2018-03-13 15:04:28 +0100
commit71c5552f9a7c2fbe27b860fafc295427955f25a1 (patch)
treebb6a6766573a73656e2755e74258dc4ed97384cb /bsps
parentsparc64: Move libcpu content to cpukit (diff)
downloadrtems-71c5552f9a7c2fbe27b860fafc295427955f25a1.tar.bz2
bsp/atsam: Allow setting the drive strength.
This adds a simple function for setting the PIO drive strength.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/arm/atsam/include/libchip/include/pio.h2
1 files changed, 2 insertions, 0 deletions
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