Home
last modified time | relevance | path

Searched refs:SubPriorityBits (Results 1 – 13 of 13) sorted by relevance

/third_party/cmsis/CMSIS/Core/Include/
Dcore_cm0.h795 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
798SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
801 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
802 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
822 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
825SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
827 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
828 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm1.h822 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
825SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
828 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
829 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
849 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
852SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
854 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
855 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm0plus.h913 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
916SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
919 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
920 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
940 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
943SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
945 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
946 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm3.h1692 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
1695SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
1698 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
1699 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
1719 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
1722SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
1724 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
1725 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_sc300.h1675 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
1678SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
1681 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
1682 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
1702 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
1705SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
1707 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
1708 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm23.h1621 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
1624SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
1627 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
1628 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
1648 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
1651SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
1653 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
1654 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm4.h1874 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
1877SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
1880 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
1881 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
1901 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
1904SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
1906 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
1907 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm7.h2093 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
2096SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
2099 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
2100 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
2120 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
2123SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
2125 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
2126 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm33.h2473 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
2476SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
2479 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
2480 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
2500 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
2503SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
2505 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
2506 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm35p.h2473 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
2476SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
2479 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
2480 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
2500 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
2503SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
2505 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
2506 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_starmc1.h2571 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
2574SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
2577 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
2578 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
2598 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
2601SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
2603 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
2604 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm85.h4006 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
4009SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
4012 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
4013 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
4033 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
4036SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
4038 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
4039 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()
Dcore_cm55.h3982 uint32_t SubPriorityBits; in NVIC_EncodePriority() local
3985SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_EncodePriority()
3988 … ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | in NVIC_EncodePriority()
3989 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) in NVIC_EncodePriority()
4009 uint32_t SubPriorityBits; in NVIC_DecodePriority() local
4012SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint3… in NVIC_DecodePriority()
4014 …*pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1U… in NVIC_DecodePriority()
4015 …*pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1U… in NVIC_DecodePriority()