From 2c339bfa24cbfa9ad611e3d0d68e9c9e16043ce2 Mon Sep 17 00:00:00 2001 From: James Munns Date: Tue, 30 Oct 2018 10:46:10 +0100 Subject: [PATCH] Update src/portability/portability.md Co-Authored-By: therealprof --- src/portability/portability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portability/portability.md b/src/portability/portability.md index e391165..24f0e36 100644 --- a/src/portability/portability.md +++ b/src/portability/portability.md @@ -18,7 +18,7 @@ How do we do this in Rust? Enter **embedded-hal**... ## What is embedded-hal? -In a nutshell it is a set of traits which define implementation contracts between **HAL implementations**, **drivers** and **applications (or firmwares)**. Those contracts include both capabilities (i.e. if a trait is implemented for a certain type, it is easy to see that a **HAL implementation** provides a certain capability) and methods (i.e. if you can construct a type implementing a trait it is guarenteed that you have the methods specified in the trait available). +In a nutshell it is a set of traits which define implementation contracts between **HAL implementations**, **drivers** and **applications (or firmwares)**. Those contracts include both capabilities (i.e. if a trait is implemented for a certain type, the **HAL implementation** provides a certain capability) and methods (i.e. if you can construct a type implementing a trait it is guarenteed that you have the methods specified in the trait available). Some of the defined traits in **embedded-hal** are: * GPIO (input and output pins)