/cmsis-2.7.6/CMSIS/Core/Include/ |
D | cmsis_armcc.h | 298 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument 300 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument 311 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument 313 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument 324 …#define __LDREXW(ptr) ((uint32_t ) __ldrex(… argument 326 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(… argument 339 #define __STREXB(value, ptr) __strex(value, ptr) argument 341 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument 354 #define __STREXH(value, ptr) __strex(value, ptr) argument 356 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument [all …]
|
D | cmsis_iccarm.h | 183 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument 185 return *(__packed uint16_t*)(ptr); in __iar_uint16_read() 195 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument 197 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write() 206 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument 208 return *(__packed uint32_t*)(ptr); in __iar_uint32_read() 217 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument 219 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write() 614 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument 616 return __LDREX((unsigned long *)ptr); in __LDREXW() [all …]
|
D | cmsis_armclang.h | 440 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 444 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 455 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 459 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 470 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 474 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 485 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 487 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 497 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 499 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
D | cmsis_gcc.h | 608 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 613 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 618 __ASM volatile ("ldrbt %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRBT() 630 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 635 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 640 __ASM volatile ("ldrht %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRHT() 652 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 656 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 667 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 669 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() [all …]
|
D | cmsis_armclang_ltm.h | 434 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument 438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT() 449 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument 453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT() 464 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument 468 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT() 479 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument 481 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT() 491 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument 493 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT() [all …]
|
/cmsis-2.7.6/CMSIS/Core_A/Include/ |
D | cmsis_armcc.h | 201 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument 203 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument 213 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument 215 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument 225 …#define __LDREXW(ptr) ((uint32_t ) __ldrex(… argument 227 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex(… argument 239 #define __STREXB(value, ptr) __strex(value, ptr) argument 241 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument 253 #define __STREXH(value, ptr) __strex(value, ptr) argument 255 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument [all …]
|
D | cmsis_iccarm.h | 146 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument 148 return *(__packed uint16_t*)(ptr); in __iar_uint16_read() 158 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument 160 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write() 169 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument 171 return *(__packed uint32_t*)(ptr); in __iar_uint32_read() 180 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument 182 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write() 411 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument 413 return __LDREX((unsigned long *)ptr); in __LDREXW() [all …]
|