Searched refs:SubPriorityBits (Results 1 – 4 of 4) sorted by relevance
1471 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1474 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_EncodePriority()1477 ((PreemptPriority & ((1 << (PreemptPriorityBits)) - 1)) << SubPriorityBits) | in NVIC_EncodePriority()1478 ((SubPriority & ((1 << (SubPriorityBits )) - 1))) in NVIC_EncodePriority()1499 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1502 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_DecodePriority()1504 *pPreemptPriority = (Priority >> SubPriorityBits) & ((1 << (PreemptPriorityBits)) - 1); in NVIC_DecodePriority()1505 *pSubPriority = (Priority ) & ((1 << (SubPriorityBits )) - 1); in NVIC_DecodePriority()
1451 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1454 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_EncodePriority()1457 ((PreemptPriority & ((1 << (PreemptPriorityBits)) - 1)) << SubPriorityBits) | in NVIC_EncodePriority()1458 ((SubPriority & ((1 << (SubPriorityBits )) - 1))) in NVIC_EncodePriority()1479 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1482 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_DecodePriority()1484 *pPreemptPriority = (Priority >> SubPriorityBits) & ((1 << (PreemptPriorityBits)) - 1); in NVIC_DecodePriority()1485 *pSubPriority = (Priority ) & ((1 << (SubPriorityBits )) - 1); in NVIC_DecodePriority()
1623 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1626 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_EncodePriority()1629 ((PreemptPriority & ((1 << (PreemptPriorityBits)) - 1)) << SubPriorityBits) | in NVIC_EncodePriority()1630 ((SubPriority & ((1 << (SubPriorityBits )) - 1))) in NVIC_EncodePriority()1651 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1654 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_DecodePriority()1656 *pPreemptPriority = (Priority >> SubPriorityBits) & ((1 << (PreemptPriorityBits)) - 1); in NVIC_DecodePriority()1657 *pSubPriority = (Priority ) & ((1 << (SubPriorityBits )) - 1); in NVIC_DecodePriority()
1810 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1813 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_EncodePriority()1816 ((PreemptPriority & ((1 << (PreemptPriorityBits)) - 1)) << SubPriorityBits) | in NVIC_EncodePriority()1817 ((SubPriority & ((1 << (SubPriorityBits )) - 1))) in NVIC_EncodePriority()1838 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1841 …SubPriorityBits = ((PriorityGroupTmp + __NVIC_PRIO_BITS) < 7) ? 0 : PriorityGroupTmp - 7 + __N… in NVIC_DecodePriority()1843 *pPreemptPriority = (Priority >> SubPriorityBits) & ((1 << (PreemptPriorityBits)) - 1); in NVIC_DecodePriority()1844 *pSubPriority = (Priority ) & ((1 << (SubPriorityBits )) - 1); in NVIC_DecodePriority()