CC23x0R5DriverLibrary
cmsis_iccarm.h File Reference

Detailed Description

CMSIS compiler ICCARM (IAR Compiler for Arm) header file.

Version
V5.2.0
Date
28. January 2020
#include <intrinsics.h>
Include dependency graph for cmsis_iccarm.h:

Go to the source code of this file.

Data Structures

struct  __iar_u32
 

Macros

#define __IAR_FT   _Pragma("inline=forced") __intrinsic
 
#define __ICCARM_V8   0
 
#define __ALIGNED(x)
 
#define __IAR_M0_FAMILY   0
 
#define __ASM   __asm
 
#define __COMPILER_BARRIER()   __ASM volatile("":::"memory")
 
#define __INLINE   inline
 
#define __NO_RETURN   _Pragma("object_attribute=__noreturn")
 
#define __PACKED   __packed
 
#define __PACKED_STRUCT   __packed struct
 
#define __PACKED_UNION   __packed union
 
#define __RESTRICT   restrict
 
#define __STATIC_INLINE   static inline
 
#define __FORCEINLINE   _Pragma("inline=forced")
 
#define __STATIC_FORCEINLINE   __FORCEINLINE __STATIC_INLINE
 
#define __UNALIGNED_UINT16_READ(PTR)   __iar_uint16_read(PTR)
 
#define __UNALIGNED_UINT16_WRITE(PTR, VAL)   __iar_uint16_write(PTR,VAL)
 
#define __UNALIGNED_UINT32_READ(PTR)   __iar_uint32_read(PTR)
 
#define __UNALIGNED_UINT32_WRITE(PTR, VAL)   __iar_uint32_write(PTR,VAL)
 
#define __UNALIGNED_UINT32(PTR)   (((struct __iar_u32 *)(PTR))->v)
 
#define __USED   _Pragma("__root")
 
#define __WEAK   _Pragma("__weak")
 
#define __PROGRAM_START   __iar_program_start
 
#define __INITIAL_SP   CSTACK$$Limit
 
#define __STACK_LIMIT   CSTACK$$Base
 
#define __VECTOR_TABLE   __vector_table
 
#define __VECTOR_TABLE_ATTRIBUTE   @".intvec"
 
#define __ICCARM_INTRINSICS_VERSION__   0
 
#define __get_FPSCR   __cmsis_iar_get_FPSR_not_active
 
#define __set_FPSCR   __cmsis_iar_set_FPSR_not_active
 
#define __get_FPSCR()   (0)
 
#define __set_FPSCR(VALUE)   ((void)VALUE)
 
#define __enable_irq   __enable_interrupt
 
#define __disable_irq   __disable_interrupt
 
#define __NOP   __no_operation
 
#define __get_xPSR   __get_PSR
 
#define __BKPT(value)   __asm volatile ("BKPT %0" : : "i"(value))
 
#define __SXTB16_RORn(ARG1, ARG2)   __SXTB16(__ROR(ARG1, ARG2))
 

Functions

__IAR_FT uint16_t __iar_uint16_read (void const *ptr)
 
__IAR_FT void __iar_uint16_write (void const *ptr, uint16_t val)
 
__IAR_FT uint32_t __iar_uint32_read (void const *ptr)
 
__IAR_FT void __iar_uint32_write (void const *ptr, uint32_t val)
 
__IAR_FT uint32_t __LDREXW (uint32_t volatile *ptr)
 
__IAR_FT uint32_t __STREXW (uint32_t value, uint32_t volatile *ptr)
 
__IAR_FT uint32_t __ROR (uint32_t op1, uint32_t op2)
 

Macro Definition Documentation

§ __IAR_FT

#define __IAR_FT   _Pragma("inline=forced") __intrinsic

Referenced by __ROR(), and __STREXW().

§ __ICCARM_V8

#define __ICCARM_V8   0

§ __ALIGNED

#define __ALIGNED (   x)

§ __IAR_M0_FAMILY

#define __IAR_M0_FAMILY   0

§ __ASM

#define __ASM   __asm

Referenced by __STREXW().

§ __COMPILER_BARRIER

#define __COMPILER_BARRIER ( )    __ASM volatile("":::"memory")

§ __INLINE

#define __INLINE   inline

§ __NO_RETURN

#define __NO_RETURN   _Pragma("object_attribute=__noreturn")

§ __PACKED

#define __PACKED   __packed

§ __PACKED_STRUCT

#define __PACKED_STRUCT   __packed struct

§ __PACKED_UNION

#define __PACKED_UNION   __packed union

§ __RESTRICT

#define __RESTRICT   restrict

§ __STATIC_INLINE

#define __STATIC_INLINE   static inline

§ __FORCEINLINE

#define __FORCEINLINE   _Pragma("inline=forced")

§ __STATIC_FORCEINLINE

#define __STATIC_FORCEINLINE   __FORCEINLINE __STATIC_INLINE

§ __UNALIGNED_UINT16_READ

#define __UNALIGNED_UINT16_READ (   PTR)    __iar_uint16_read(PTR)

§ __UNALIGNED_UINT16_WRITE

#define __UNALIGNED_UINT16_WRITE (   PTR,
  VAL 
)    __iar_uint16_write(PTR,VAL)

§ __UNALIGNED_UINT32_READ

#define __UNALIGNED_UINT32_READ (   PTR)    __iar_uint32_read(PTR)

§ __UNALIGNED_UINT32_WRITE

#define __UNALIGNED_UINT32_WRITE (   PTR,
  VAL 
)    __iar_uint32_write(PTR,VAL)

§ __UNALIGNED_UINT32

#define __UNALIGNED_UINT32 (   PTR)    (((struct __iar_u32 *)(PTR))->v)

§ __USED

#define __USED   _Pragma("__root")

§ __WEAK

#define __WEAK   _Pragma("__weak")

§ __PROGRAM_START

#define __PROGRAM_START   __iar_program_start

§ __INITIAL_SP

#define __INITIAL_SP   CSTACK$$Limit

§ __STACK_LIMIT

#define __STACK_LIMIT   CSTACK$$Base

§ __VECTOR_TABLE

#define __VECTOR_TABLE   __vector_table

§ __VECTOR_TABLE_ATTRIBUTE

#define __VECTOR_TABLE_ATTRIBUTE   @".intvec"

§ __ICCARM_INTRINSICS_VERSION__

#define __ICCARM_INTRINSICS_VERSION__   0

§ __get_FPSCR [1/2]

#define __get_FPSCR   __cmsis_iar_get_FPSR_not_active

§ __set_FPSCR [1/2]

#define __set_FPSCR   __cmsis_iar_set_FPSR_not_active

§ __get_FPSCR [2/2]

#define __get_FPSCR (   void)    (0)

§ __set_FPSCR [2/2]

#define __set_FPSCR (   VALUE)    ((void)VALUE)

§ __enable_irq

#define __enable_irq   __enable_interrupt

§ __disable_irq

#define __disable_irq   __disable_interrupt

§ __NOP

#define __NOP   __no_operation

§ __get_xPSR

#define __get_xPSR   __get_PSR

§ __BKPT

#define __BKPT (   value)    __asm volatile ("BKPT %0" : : "i"(value))

§ __SXTB16_RORn

#define __SXTB16_RORn (   ARG1,
  ARG2 
)    __SXTB16(__ROR(ARG1, ARG2))

Referenced by __USAT().

Function Documentation

§ __iar_uint16_read()

__IAR_FT uint16_t __iar_uint16_read ( void const *  ptr)

§ __iar_uint16_write()

__IAR_FT void __iar_uint16_write ( void const *  ptr,
uint16_t  val 
)

§ __iar_uint32_read()

__IAR_FT uint32_t __iar_uint32_read ( void const *  ptr)

§ __iar_uint32_write()

__IAR_FT void __iar_uint32_write ( void const *  ptr,
uint32_t  val 
)

§ __LDREXW()

__IAR_FT uint32_t __LDREXW ( uint32_t volatile *  ptr)

Referenced by __CLZ().

§ __STREXW()

__IAR_FT uint32_t __STREXW ( uint32_t  value,
uint32_t volatile *  ptr 
)

References __ASM, and __IAR_FT.

Referenced by __CLZ().

§ __ROR()

__IAR_FT uint32_t __ROR ( uint32_t  op1,
uint32_t  op2 
)

References __IAR_FT.