From f27c5d296844f858b3026ee6f1a63641c0d98fb1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 18 Dec 2009 11:42:05 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1429 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/pal_lld.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os/hal/platforms/STM32/pal_lld.h') diff --git a/os/hal/platforms/STM32/pal_lld.h b/os/hal/platforms/STM32/pal_lld.h index 5029766e5..7b052ae3f 100644 --- a/os/hal/platforms/STM32/pal_lld.h +++ b/os/hal/platforms/STM32/pal_lld.h @@ -33,6 +33,16 @@ /* I/O Ports Types and constants. */ /*===========================================================================*/ +/** + * @brief STM32 specific alternate push-pull output mode. + */ +#define PAL_MODE_STM32_ALTERNATE_PUSHPULL 16 + +/** + * @brief STM32 specific alternate open-drain output mode. + */ +#define PAL_MODE_STM32_ALTERNATE_OPENDRAIN 17 + /** * @brief GPIO port setup info. */ -- cgit v1.2.3