Skip to content

Commit

Permalink
Remove obsolete Eusci trait
Browse files Browse the repository at this point in the history
  • Loading branch information
RossPorter506 committed Jan 3, 2025
1 parent f21c5eb commit 6404f79
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/hw_traits/eusci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,7 @@ pub struct UcxSpiCtw0, UcxSpiCtw0_rd, UcxSpiCtw0_wr{
}
}

pub trait EUsci: Steal {}

pub trait EUsciUart: EUsci {
pub trait EUsciUart: Steal {
type Statw: UartUcxStatw;

fn ctl0_reset(&self);
Expand Down Expand Up @@ -267,7 +265,7 @@ pub trait EUsciUart: EUsci {
fn rxie_clear(&self);
}

pub trait EUsciI2C: EUsci {
pub trait EUsciI2C: Steal {
type IfgOut: I2CUcbIfgOut;

fn transmit_ack(&self);
Expand Down Expand Up @@ -334,7 +332,7 @@ pub trait EUsciI2C: EUsci {
fn iv_rd(&self) -> u16;
}

pub trait EusciSPI: EUsci {
pub trait EusciSPI: Steal {
type Statw: SpiStatw;

fn ctw0_set_rst(&self);
Expand Down Expand Up @@ -407,8 +405,6 @@ macro_rules! eusci_impl {
}
}

impl EUsci for pac::$EUsci {}

impl EusciSPI for pac::$EUsci {
type Statw = $StatwSpi;

Expand Down

0 comments on commit 6404f79

Please sign in to comment.