atsamd51j19a/tpi/trigger.rs
1#[doc = "Reader of register TRIGGER"]
2pub type R = crate::R<u32, super::TRIGGER>;
3#[doc = "Reader of field `TRIGGER`"]
4pub type TRIGGER_R = crate::R<bool, bool>;
5impl R {
6 #[doc = "Bit 0"]
7 #[inline(always)]
8 pub fn trigger(&self) -> TRIGGER_R {
9 TRIGGER_R::new((self.bits & 0x01) != 0)
10 }
11}