diff --git a/src/interoperability/rust-with-c.md b/src/interoperability/rust-with-c.md index 2eef370..5e596f0 100644 --- a/src/interoperability/rust-with-c.md +++ b/src/interoperability/rust-with-c.md @@ -14,7 +14,7 @@ any dependencies. Create a new `cargo` project as usual. There are flags to tell `cargo` to emit a systems library, instead of -it's regular rust target. +its regular rust target. This also allows you to set a different output name for your library, if you want it to differ from the rest of your crate. @@ -102,4 +102,4 @@ is as simple as including the header and calling them! ```C #include "my-rust-project.h" rust_function(); -``` \ No newline at end of file +``` diff --git a/src/peripherals/index.md b/src/peripherals/index.md index 6b6a192..23731c5 100644 --- a/src/peripherals/index.md +++ b/src/peripherals/index.md @@ -4,7 +4,7 @@ Most Microcontrollers have more than just a CPU, RAM, or Flash Memory - they contain sections of silicon which are used for interacting with systems outside of the microcontroller, as well as directly and indirectly interacting with their surroundings in the world via sensors, motor controllers, or human interfaces such as a display or keyboard. These components are collectively known as Peripherals. -These peripherals are useful because they allow a developer to offload processing to them, avoiding having to handle everything in software. Similar to how a desktop developer would offload graphics processing to a video card, embedded developers can offload some tasks to peripherals allowing the CPU to spend it's time doing something else important, or doing nothing in order to save power. +These peripherals are useful because they allow a developer to offload processing to them, avoiding having to handle everything in software. Similar to how a desktop developer would offload graphics processing to a video card, embedded developers can offload some tasks to peripherals allowing the CPU to spend its time doing something else important, or doing nothing in order to save power. If you look at the main circuit board in an old-fashioned home computer from the 1970s or 1980s (and actually, the desktop PCs of yesterday are not so far removed from the embedded systems of today) you would expect to see: