aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM8S/pal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM8S/pal_lld.h')
-rw-r--r--os/hal/platforms/STM8S/pal_lld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/platforms/STM8S/pal_lld.h b/os/hal/platforms/STM8S/pal_lld.h
index ef69d1379..0742c21ef 100644
--- a/os/hal/platforms/STM8S/pal_lld.h
+++ b/os/hal/platforms/STM8S/pal_lld.h
@@ -85,6 +85,11 @@ typedef struct {
typedef uint8_t ioportmask_t;
/**
+ * @brief Digital I/O modes.
+ */
+typedef uint8_t iomode_t;
+
+/**
* @brief Port Identifier.
*/
typedef GPIO_TypeDef *ioportid_t;