Lower some verbose logs to trace.
This commit is contained in:
parent
587c003d73
commit
d1740b10f0
@ -247,7 +247,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
|
||||
let r = T::regs();
|
||||
|
||||
if self.dpm_enabled {
|
||||
info!("qspi: doing deep powerdown...");
|
||||
trace!("qspi: doing deep powerdown...");
|
||||
|
||||
r.ifconfig1.modify(|_, w| w.dpmen().enter());
|
||||
|
||||
@ -281,7 +281,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
|
||||
gpio::deconfigure_pin(r.psel.io2.read().bits());
|
||||
gpio::deconfigure_pin(r.psel.io3.read().bits());
|
||||
|
||||
info!("qspi: dropped");
|
||||
trace!("qspi: dropped");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -161,7 +161,7 @@ impl<'d, T: Instance> Spim<'d, T> {
|
||||
|
||||
impl<'d, T: Instance> Drop for Spim<'d, T> {
|
||||
fn drop(&mut self) {
|
||||
info!("spim drop");
|
||||
trace!("spim drop");
|
||||
|
||||
// TODO check for abort, wait for xxxstopped
|
||||
|
||||
@ -173,7 +173,7 @@ impl<'d, T: Instance> Drop for Spim<'d, T> {
|
||||
gpio::deconfigure_pin(r.psel.miso.read().bits());
|
||||
gpio::deconfigure_pin(r.psel.mosi.read().bits());
|
||||
|
||||
info!("spim drop: done");
|
||||
trace!("spim drop: done");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -448,7 +448,7 @@ impl<'d, T: Instance> Twim<'d, T> {
|
||||
|
||||
impl<'a, T: Instance> Drop for Twim<'a, T> {
|
||||
fn drop(&mut self) {
|
||||
info!("twim drop");
|
||||
trace!("twim drop");
|
||||
|
||||
// TODO when implementing async here, check for abort
|
||||
|
||||
@ -459,7 +459,7 @@ impl<'a, T: Instance> Drop for Twim<'a, T> {
|
||||
gpio::deconfigure_pin(r.psel.sda.read().bits());
|
||||
gpio::deconfigure_pin(r.psel.scl.read().bits());
|
||||
|
||||
info!("twim drop: done");
|
||||
trace!("twim drop: done");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -157,15 +157,15 @@ where
|
||||
unsafe fn on_interrupt(_: *mut ()) {
|
||||
let ris = crate::pac::DCMI.ris().read();
|
||||
if ris.err_ris() {
|
||||
error!("DCMI IRQ: Error.");
|
||||
trace!("DCMI IRQ: Error.");
|
||||
crate::pac::DCMI.ier().modify(|ier| ier.set_err_ie(false));
|
||||
}
|
||||
if ris.ovr_ris() {
|
||||
error!("DCMI IRQ: Overrun.");
|
||||
trace!("DCMI IRQ: Overrun.");
|
||||
crate::pac::DCMI.ier().modify(|ier| ier.set_ovr_ie(false));
|
||||
}
|
||||
if ris.frame_ris() {
|
||||
info!("DCMI IRQ: Frame captured.");
|
||||
trace!("DCMI IRQ: Frame captured.");
|
||||
crate::pac::DCMI.ier().modify(|ier| ier.set_frame_ie(false));
|
||||
}
|
||||
STATE.waker.wake();
|
||||
|
Loading…
Reference in New Issue
Block a user