Fix minor typos

This commit is contained in:
Sebastian Goll 2024-03-20 19:52:36 +01:00
parent f3a0bcb15e
commit 746ded94b1

View file

@ -58,10 +58,10 @@ pub unsafe fn on_interrupt<T: Instance>() {
/// - `ST` = start condition
/// - `SR` = repeated start condition
/// - `SP` = stop condition
/// - `ACK`/`NACK` = last byte in read operation
#[derive(Copy, Clone)]
enum FrameOptions {
/// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in operation and last frame overall in this
/// transaction.
/// `[ST/SR]+[NACK]+[SP]` First frame (of this type) in transaction and also last frame overall.
FirstAndLastFrame,
/// `[ST/SR]+[NACK]` First frame of this type in transaction, last frame in a read operation but
/// not the last frame overall.