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