#[doc = "Register `EDGE` reader"]
pub type R = crate::R<EdgeSpec>;
#[doc = "Register `EDGE` writer"]
pub type W = crate::W<EdgeSpec>;
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
write!(f, "{}", self.bits())
}
}
impl W {}
#[doc = "Регистр типа прерываний. При чтении – текущий тип прерывания: «1» – по событию (фронт или спад), «0» – по уровню. Запись «1» – прерывание формируется по событию для соответствующего канала Запись «0» - не влияет\n\nYou can [`read`](crate::Reg::read) this register and get [`edge::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`edge::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EdgeSpec;
impl crate::RegisterSpec for EdgeSpec {
type Ux = u32;
}
#[doc = "`read()` method returns [`edge::R`](R) reader structure"]
impl crate::Readable for EdgeSpec {}
#[doc = "`write(|w| ..)` method takes [`edge::W`](W) writer structure"]
impl crate::Writable for EdgeSpec {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets EDGE to value 0"]
impl crate::Resettable for EdgeSpec {}