Lines Matching full:value

70   \return               Control Register value
85 \return non-secure Control Register value
99 \details Writes the given value to the Control Register.
100 \param [in] control Control Register value to set
111 \details Writes the given value to the non-secure Control Register when in secure state.
112 \param [in] control Control Register value to set
124 \return IPSR Register value
139 \return IPSR Register value
154 \return APSR Register value
169 \return APSR Register value
184 \return xPSR Register value
199 \return xPSR Register value
213 \details Returns the current value of the Process Stack Pointer (PSP).
214 \return PSP Register value
228 …\details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure st…
229 \return PSP Register value
243 \details Assigns the given value to the Process Stack Pointer (PSP).
244 \param [in] topOfProcStack Process Stack Pointer value to set
255 …\details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure stat…
256 \param [in] topOfProcStack Process Stack Pointer value to set
267 \details Returns the current value of the Main Stack Pointer (MSP).
268 \return MSP Register value
282 …\details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure state.
283 \return MSP Register value
297 \details Assigns the given value to the Main Stack Pointer (MSP).
298 \param [in] topOfMainStack Main Stack Pointer value to set
309 \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
310 \param [in] topOfMainStack Main Stack Pointer value to set
322 \return Priority Mask value
337 \return Priority Mask value
351 \details Assigns the given value to the Priority Mask Register.
363 \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
399 \details Returns the current value of the Base Priority register.
400 \return Base Priority register value
414 \details Returns the current value of the non-secure Base Priority register when in secure state.
415 \return Base Priority register value
429 \details Assigns the given value to the Base Priority register.
430 \param [in] basePri Base Priority value to set
432 __attribute__((always_inline)) __STATIC_INLINE void __set_BASEPRI(uint32_t value) in __set_BASEPRI() argument
434 __ASM volatile ("MSR basepri, %0" : : "r" (value) : "memory"); in __set_BASEPRI()
441 \details Assigns the given value to the non-secure Base Priority register when in secure state.
442 \param [in] basePri Base Priority value to set
444 __attribute__((always_inline)) __STATIC_INLINE void __TZ_set_BASEPRI_NS(uint32_t value) in __TZ_set_BASEPRI_NS() argument
446 __ASM volatile ("MSR basepri_ns, %0" : : "r" (value) : "memory"); in __TZ_set_BASEPRI_NS()
453 …\details Assigns the given value to the Base Priority register only if BASEPRI masking is disabled,
454 or the new value increases the BASEPRI priority level.
455 \param [in] basePri Base Priority value to set
457 __attribute__((always_inline)) __STATIC_INLINE void __set_BASEPRI_MAX(uint32_t value) in __set_BASEPRI_MAX() argument
459 __ASM volatile ("MSR basepri_max, %0" : : "r" (value) : "memory"); in __set_BASEPRI_MAX()
466 …\details Assigns the given value to the non-secure Base Priority register when in secure state onl…
467 or the new value increases the BASEPRI priority level.
468 \param [in] basePri Base Priority value to set
470 __attribute__((always_inline)) __STATIC_INLINE void __TZ_set_BASEPRI_MAX_NS(uint32_t value) in __TZ_set_BASEPRI_MAX_NS() argument
472 __ASM volatile ("MSR basepri_max_ns, %0" : : "r" (value) : "memory"); in __TZ_set_BASEPRI_MAX_NS()
479 \details Returns the current value of the Fault Mask register.
480 \return Fault Mask register value
494 \details Returns the current value of the non-secure Fault Mask register when in secure state.
495 \return Fault Mask register value
509 \details Assigns the given value to the Fault Mask register.
510 \param [in] faultMask Fault Mask value to set
521 \details Assigns the given value to the non-secure Fault Mask register when in secure state.
522 \param [in] faultMask Fault Mask value to set
538 \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
539 \return PSPLIM Register value
553 …\details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in …
554 \return PSPLIM Register value
568 \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
569 \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
580 …\details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in se…
581 \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
592 \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
593 \return MSPLIM Register value
608 …\details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in secu…
609 \return MSPLIM Register value
623 \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
624 \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
635 …\details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secur…
636 \param [in] MainStackPtrLimit Main Stack Pointer value to set
651 \details eturns the current value of the Floating Point Status/Control register.
652 \return Floating Point Status/Control register value
674 …\details Returns the current value of the non-secure Floating Point Status/Control register when i…
675 \return Floating Point Status/Control register value
695 \details Assigns the given value to the Floating Point Status/Control register.
696 \param [in] fpscr Floating Point Status/Control value to set
713 …\details Assigns the given value to the non-secure Floating Point Status/Control register when in …
714 \param [in] fpscr Floating Point Status/Control value to set
804 \details Reverses the byte order in integer value.
805 \param [in] value Value to reverse
806 \return Reversed value
814 \param [in] value Value to reverse
815 \return Reversed value
819 __attribute__((always_inline)) __STATIC_INLINE uint32_t __REV16(uint32_t value)
823 __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
830 \brief Reverse byte order in signed short value
831 \details Reverses the byte order in a signed short value with sign extension to integer.
832 \param [in] value Value to reverse
833 \return Reversed value
836 __attribute__((always_inline)) __STATIC_INLINE int32_t __REVSH(int32_t value) in __REVSH() argument
840 __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REVSH()
846 \brief Rotate Right in unsigned value (32 bit)
847 …\details Rotate Right (immediate) provides the value of the contents of a register rotated by a va…
848 \param [in] op1 Value to rotate
850 \return Rotated value
862 \param [in] value is ignored by the processor.
865 #define __BKPT(value) __ASM volatile ("bkpt "#value) argument
869 \brief Reverse bit order of value
870 \details Reverses the bit order of the given value.
871 \param [in] value Value to reverse
872 \return Reversed value
875 __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value) in __RBIT() argument
880 __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) ); in __RBIT()
884 result = value; /* r will be reversed bits of v; first get LSB of v */ in __RBIT()
885 for (value >>= 1U; value; value >>= 1U) in __RBIT()
888 result |= value & 1U; in __RBIT()
899 \details Counts the number of leading zeros of a data value.
900 \param [in] value Value to count the leading zeros
901 \return number of leading zeros in value
910 \details Executes a exclusive LDR instruction for 8 bit value.
912 \return value of type uint8_t at (*ptr)
921 \return value of type uint16_t at (*ptr)
930 \return value of type uint32_t at (*ptr)
938 \param [in] value Value to store
949 \param [in] value Value to store
960 \param [in] value Value to store
977 \details Saturates a signed value.
978 \param [in] value Value to be saturated
980 \return Saturated value
993 \details Saturates an unsigned value.
994 \param [in] value Value to be saturated
996 \return Saturated value
1013 \param [in] value Value to rotate
1014 \return Rotated value
1016 __attribute__((always_inline)) __STATIC_INLINE uint32_t __RRX(uint32_t value) in __RRX() argument
1020 __ASM volatile ("rrx %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __RRX()
1027 \details Executes a Unprivileged LDRT instruction for 8 bit value.
1029 \return value of type uint8_t at (*ptr)
1044 \return value of type uint16_t at (*ptr)
1059 \return value of type uint32_t at (*ptr)
1073 \param [in] value Value to store
1076 __attribute__((always_inline)) __STATIC_INLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
1078 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
1085 \param [in] value Value to store
1088 __attribute__((always_inline)) __STATIC_INLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument
1090 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
1097 \param [in] value Value to store
1100 __attribute__((always_inline)) __STATIC_INLINE void __STRT(uint32_t value, volatile uint32_t *ptr) in __STRT() argument
1102 __ASM volatile ("strt %1, %0" : "=Q" (*ptr) : "r" (value) ); in __STRT()
1112 \details Executes a LDAB instruction for 8 bit value.
1114 \return value of type uint8_t at (*ptr)
1129 \return value of type uint16_t at (*ptr)
1144 \return value of type uint32_t at (*ptr)
1158 \param [in] value Value to store
1161 __attribute__((always_inline)) __STATIC_INLINE void __STLB(uint8_t value, volatile uint8_t *ptr) in __STLB() argument
1163 __ASM volatile ("stlb %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STLB()
1170 \param [in] value Value to store
1173 __attribute__((always_inline)) __STATIC_INLINE void __STLH(uint16_t value, volatile uint16_t *ptr) in __STLH() argument
1175 __ASM volatile ("stlh %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STLH()
1182 \param [in] value Value to store
1185 __attribute__((always_inline)) __STATIC_INLINE void __STL(uint32_t value, volatile uint32_t *ptr) in __STL() argument
1187 __ASM volatile ("stl %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STL()
1193 \details Executes a LDAB exclusive instruction for 8 bit value.
1195 \return value of type uint8_t at (*ptr)
1204 \return value of type uint16_t at (*ptr)
1213 \return value of type uint32_t at (*ptr)
1221 \param [in] value Value to store
1232 \param [in] value Value to store
1243 \param [in] value Value to store