stm32/ipcc: add clear debug

This commit is contained in:
xoviat 2023-06-17 10:50:06 -05:00
parent 6ef060ca17
commit 4c9b7befaa

View file

@ -111,6 +111,7 @@ impl Ipcc {
pub fn c1_clear_flag_channel(channel: IpccChannel) {
let regs = IPCC::regs();
trace!("ipcc: ch {}: clear rx", channel as u8);
unsafe { regs.cpu(0).scr().write(|w| w.set_chc(channel as usize, true)) }
}