fixed typos

This commit is contained in:
mqy 2022-04-18 18:49:41 +08:00 committed by 9names
parent 5f793cde69
commit 623457a498
43 changed files with 70 additions and 70 deletions

View file

@ -390,9 +390,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -90,9 +90,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -90,9 +90,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -86,9 +86,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -82,9 +82,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -86,9 +86,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -85,9 +85,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -87,9 +87,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -88,9 +88,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -5,7 +5,7 @@
//! This will blink an LED attached to GPIO25, which is the pin the Pico Lipo uses
//! for the on-board LED.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -87,9 +87,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -129,9 +129,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -5,7 +5,7 @@
//! This will blink an LED attached to GP25, which is the pin the Pico uses for
//! the on-board LED.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -5,7 +5,7 @@
//! This will blink an LED attached to GP25, which is the pin the Pico uses for
//! the on-board LED.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//! internally by this example. When the button is pressed, the LED will turn
//! off.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -36,7 +36,7 @@
//! - (o) connected lines
//! ```
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -6,7 +6,7 @@
//! using the PIO peripheral as an I2C bus controller.
//! The pins used for the I2C can be remapped to any other pin available to the PIO0 peripheral.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -5,7 +5,7 @@
//! This will fade in/out the LED attached to GP25, which is the pin the Pico
//! uses for the on-board LED.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -80,14 +80,14 @@
//!
//! If there are 5 different error patterns, all with short blinking pulses:
//!
//! - **2 short blink (in a loop)**: Block device could not be aquired, either
//! - **2 short blink (in a loop)**: Block device could not be acquired, either
//! no SD card is present or some electrical problem.
//! - **3 short blink (in a loop)**: Card size could not be retrieved.
//! - **4 short blink (in a loop)**: Error getting volume/partition 0.
//! - **5 short blink (in a loop)**: Error opening root directory.
//! - **6 short blink (in a loop)**: Could not open file 'O.TST'.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -12,7 +12,7 @@
//! * GPIO 1 - UART RX (in to the RP2040)
//! * GPIO 25 - An LED we can blink (active high)
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -10,7 +10,7 @@
//! * GPIO 1 - UART RX (in to the RP2040)
//! * GPIO 25 - An LED we can blink (active high)
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//! ASCII characters are converted to upercase, so you can tell it is working
//! and not just local-echo!
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//! ASCII characters are converted to upercase, so you can tell it is working
//! and not just local-echo!
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -6,7 +6,7 @@
//! It generates movement reports which will twitch the cursor up and down by a
//! few pixels, several times a second.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
//!
//! This is a port of
//! https://github.com/atsamd-rs/atsamd/blob/master/boards/itsybitsy_m0/examples/twitching_usb_mouse.rs

View file

@ -35,7 +35,7 @@
//! - (o) connected lines
//! ```
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -86,9 +86,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -87,9 +87,9 @@ to intervene to uphold that code of conduct.
## License
The contents of this repository are dual-licensed under the _MIT OR Apache
2.0_ License. That means you can chose either the MIT licence or the
Apache-2.0 licence when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific licence.
2.0_ License. That means you can chose either the MIT license or the
Apache-2.0 license when you re-use this code. See `MIT` or `APACHE2.0` for more
information on each specific license.
Any submissions to this project (e.g. as Pull Requests) must be made available
under these terms.

View file

@ -5,7 +5,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//!
//! NOTE: The DHT11 driver only works reliably when compiled in release mode.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -17,7 +17,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//! It drives the LCD by pushing data out of six GPIO pins. It may need to be
//! adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -5,7 +5,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -7,7 +7,7 @@
//! It may need to be adapted to your particular board layout and/or pin
//! assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -6,7 +6,7 @@
//! It may need to be adapted to your particular board layout and/or pin
//! assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -4,7 +4,7 @@
//!
//! It may need to be adapted to your particular board layout and/or pin assignment.
//!
//! See the `Cargo.toml` file for Copyright and licence details.
//! See the `Cargo.toml` file for Copyright and license details.
#![no_std]
#![no_main]

View file

@ -43,7 +43,7 @@ extern crate alloc;
pub enum Error {
/// Operation is invalid on this core.
InvalidCore,
/// Core was unresposive to commands.
/// Core was unresponsive to commands.
Unresponsive,
}

View file

@ -656,7 +656,7 @@ impl<P: PIOExt, SM: StateMachineIndex> StateMachine<(P, SM), Stopped> {
}
impl<P: PIOExt, SM: StateMachineIndex, State> StateMachine<(P, SM), State> {
/// Create a group of state machines, which can be started/stopped synchonously
/// Create a group of state machines, which can be started/stopped synchronously
pub fn with<SM2: StateMachineIndex>(
self,
other_sm: StateMachine<(P, SM2), State>,