rp2040_pac/busctrl/
bus_priority_ack.rs

1#[doc = "Register `BUS_PRIORITY_ACK` reader"]
2pub type R = crate::R<BUS_PRIORITY_ACK_SPEC>;
3#[doc = "Field `BUS_PRIORITY_ACK` reader - Goes to 1 once all arbiters have registered the new global priority levels.  
4 Arbiters update their local priority when servicing a new nonsequential access.  
5 In normal circumstances this will happen almost immediately."]
6pub type BUS_PRIORITY_ACK_R = crate::BitReader;
7impl R {
8    #[doc = "Bit 0 - Goes to 1 once all arbiters have registered the new global priority levels.  
9 Arbiters update their local priority when servicing a new nonsequential access.  
10 In normal circumstances this will happen almost immediately."]
11    #[inline(always)]
12    pub fn bus_priority_ack(&self) -> BUS_PRIORITY_ACK_R {
13        BUS_PRIORITY_ACK_R::new((self.bits & 1) != 0)
14    }
15}
16#[doc = "Bus priority acknowledge  
17
18You can [`read`](crate::generic::Reg::read) this register and get [`bus_priority_ack::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct BUS_PRIORITY_ACK_SPEC;
20impl crate::RegisterSpec for BUS_PRIORITY_ACK_SPEC {
21    type Ux = u32;
22}
23#[doc = "`read()` method returns [`bus_priority_ack::R`](R) reader structure"]
24impl crate::Readable for BUS_PRIORITY_ACK_SPEC {}
25#[doc = "`reset()` method sets BUS_PRIORITY_ACK to value 0"]
26impl crate::Resettable for BUS_PRIORITY_ACK_SPEC {
27    const RESET_VALUE: u32 = 0;
28}