Skip to content

Commit

Permalink
Add: custom error handling and delta offset commands
Browse files Browse the repository at this point in the history
  • Loading branch information
IniterWorker committed Apr 27, 2024
1 parent 325deea commit cb87ace
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 44 deletions.
4 changes: 2 additions & 2 deletions src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ pub mod register {

bitfield! {
/// FIFO Control Register
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
pub struct Calibration(u16);
#[doc = "HIGH"]
pub u8, high, set_high: 15, 8;
Expand All @@ -681,7 +681,7 @@ pub mod register {
}

/// Host Controlled Calibration Registers
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
#[derive(Debug, PartialEq, Eq, Clone, Copy, Default)]
pub struct CalibrationRegisters {
pub cal1: Calibration,
pub cal2: Calibration,
Expand Down
Loading

0 comments on commit cb87ace

Please sign in to comment.