Skip to content

Commit

Permalink
fix doc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kiffie committed Oct 15, 2024
1 parent 989ccc1 commit f2dde21
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pic32-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ pub enum Error {
InvalidState,
}

/// An I2C driver for the PIC32. Contains primitives `transmit()`, `receive()`,
/// `rstart()`, `stop()` that can be called one after another to build a complex
/// I2C transaction. A Transaction must be started with `transmit()` and
/// concluded with `stop()`
/// An I2C driver for the PIC32.
///
/// Contains primitives `transmit()`, `receive()`, `rstart()`, `stop()` that can
/// be called one after another to build a complex I2C transaction. A
/// Transaction must be started with `transmit()` and concluded with `stop()`
pub struct I2c<I2C> {
i2c: I2C,
transaction_ongoing: bool,
Expand Down

0 comments on commit f2dde21

Please sign in to comment.