Searched refs:SubPriorityBits (Results 1 – 8 of 8) 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()
1575 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1578 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()1581 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()1582 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()1602 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1605 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()1607 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()1608 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
1557 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1560 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()1563 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()1564 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()1584 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1587 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()1589 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()1590 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
1749 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1752 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()1755 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()1756 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()1776 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1779 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()1781 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()1782 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
1957 uint32_t SubPriorityBits; in NVIC_EncodePriority() local1960 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()1963 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()1964 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()1984 uint32_t SubPriorityBits; in NVIC_DecodePriority() local1987 …SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()1989 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()1990 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()