From e20aaf6c29fc5ca91e059bbca8194c8ad7c516b9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 2 Jun 2009 08:37:46 +0000 Subject: STM32 support for I/O ports. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1009 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/ioports.h | 2 +- src/templates/ioports_lld.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/include/ioports.h b/src/include/ioports.h index 6ccf435af..94488640a 100644 --- a/src/include/ioports.h +++ b/src/include/ioports.h @@ -116,7 +116,7 @@ typedef struct { * for atomicity and/or portability reasons you may need to enclose port * I/O operations between @p chSysLock() and @p chSysUnlock(). */ -#define chPortToggle(port, bits) ioport_clear_lld(port, bits) +#define chPortToggle(port, bits) ioport_toggle_lld(port, bits) /** * @brief Writes a value on an I/O bus. diff --git a/src/templates/ioports_lld.h b/src/templates/ioports_lld.h index 422abe350..8420ca1c7 100644 --- a/src/templates/ioports_lld.h +++ b/src/templates/ioports_lld.h @@ -18,7 +18,7 @@ */ /** - * @file ioports_lld.h + * @file src/templates/ioports_lld.h * @brief I/O ports low level driver * @addtogroup IOPortsLLD * @{ @@ -118,7 +118,7 @@ typedef uint32_t ioportid_t; * @note This function is not meant to be invoked directly by the application * code. */ -#define ioport_clear_lld(port, bits) +#define ioport_toggle_lld(port, bits) /** * @brief Writes a value on an I/O bus. -- cgit v1.2.3