Fix minor typos
This commit is contained in:
parent
f3a0bcb15e
commit
746ded94b1
1 changed files with 2 additions and 2 deletions
|
@ -58,10 +58,10 @@ pub unsafe fn on_interrupt<T: Instance>() {
|
||||||
/// - `ST` = start condition
|
/// - `ST` = start condition
|
||||||
/// - `SR` = repeated start condition
|
/// - `SR` = repeated start condition
|
||||||
/// - `SP` = stop condition
|
/// - `SP` = stop condition
|
||||||
|
/// - `ACK`/`NACK` = last byte in read operation
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
enum FrameOptions {
|
enum FrameOptions {
|
||||||
/// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in operation and last frame overall in this
|
/// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in transaction and also last frame overall.
|
||||||
/// transaction.
|
|
||||||
FirstAndLastFrame,
|
FirstAndLastFrame,
|
||||||
/// `[ST/SR]+[NACK]` First frame of this type in transaction, last frame in a read operation but
|
/// `[ST/SR]+[NACK]` First frame of this type in transaction, last frame in a read operation but
|
||||||
/// not the last frame overall.
|
/// not the last frame overall.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue