Merge #556
556: Lower some verbose logs to trace. r=Dirbaio a=Dirbaio Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
commit
63d980df7e
4 changed files with 9 additions and 9 deletions
|
@ -247,7 +247,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
|
||||||
let r = T::regs();
|
let r = T::regs();
|
||||||
|
|
||||||
if self.dpm_enabled {
|
if self.dpm_enabled {
|
||||||
info!("qspi: doing deep powerdown...");
|
trace!("qspi: doing deep powerdown...");
|
||||||
|
|
||||||
r.ifconfig1.modify(|_, w| w.dpmen().enter());
|
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.io2.read().bits());
|
||||||
gpio::deconfigure_pin(r.psel.io3.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> {
|
impl<'d, T: Instance> Drop for Spim<'d, T> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
info!("spim drop");
|
trace!("spim drop");
|
||||||
|
|
||||||
// TODO check for abort, wait for xxxstopped
|
// 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.miso.read().bits());
|
||||||
gpio::deconfigure_pin(r.psel.mosi.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> {
|
impl<'a, T: Instance> Drop for Twim<'a, T> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
info!("twim drop");
|
trace!("twim drop");
|
||||||
|
|
||||||
// TODO when implementing async here, check for abort
|
// 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.sda.read().bits());
|
||||||
gpio::deconfigure_pin(r.psel.scl.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 ()) {
|
unsafe fn on_interrupt(_: *mut ()) {
|
||||||
let ris = crate::pac::DCMI.ris().read();
|
let ris = crate::pac::DCMI.ris().read();
|
||||||
if ris.err_ris() {
|
if ris.err_ris() {
|
||||||
error!("DCMI IRQ: Error.");
|
trace!("DCMI IRQ: Error.");
|
||||||
crate::pac::DCMI.ier().modify(|ier| ier.set_err_ie(false));
|
crate::pac::DCMI.ier().modify(|ier| ier.set_err_ie(false));
|
||||||
}
|
}
|
||||||
if ris.ovr_ris() {
|
if ris.ovr_ris() {
|
||||||
error!("DCMI IRQ: Overrun.");
|
trace!("DCMI IRQ: Overrun.");
|
||||||
crate::pac::DCMI.ier().modify(|ier| ier.set_ovr_ie(false));
|
crate::pac::DCMI.ier().modify(|ier| ier.set_ovr_ie(false));
|
||||||
}
|
}
|
||||||
if ris.frame_ris() {
|
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));
|
crate::pac::DCMI.ier().modify(|ier| ier.set_frame_ie(false));
|
||||||
}
|
}
|
||||||
STATE.waker.wake();
|
STATE.waker.wake();
|
||||||
|
|
Loading…
Reference in a new issue