RTEMS 6.1-rc1
Data Structures | Macros | Typedefs
xil_types.h File Reference
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  Xuint64
 

Macros

#define XIL_TYPES_H   /* by using protection macros */
 
#define TRUE   1U
 
#define FALSE   0U
 
#define XIL_COMPONENT_IS_READY   0x11111111U
 
#define XIL_COMPONENT_IS_STARTED   0x22222222U
 
#define __XUINT64__
 
#define XUINT64_MSW(x)   ((x).Upper)
 Return the most significant half of the 64 bit data type. More...
 
#define XUINT64_LSW(x)   ((x).Lower)
 Return the least significant half of the 64 bit data type. More...
 
#define ULONG64_HI_MASK   0xFFFFFFFF00000000U
 
#define ULONG64_LO_MASK   ~ULONG64_HI_MASK
 
#define UPPER_32_BITS(n)   0U
 Returns 32-63 bits of a number. More...
 
#define LOWER_32_BITS(n)   ((u32)(n))
 Returns 0-31 bits of a number. More...
 
gpio Usage
#define NULL   0U
 Requests a GPIO pin group configuration. More...
 

Typedefs

typedef uint8_t u8
 
typedef uint16_t u16
 
typedef uint32_t u32
 
typedef char char8
 
typedef int8_t s8
 
typedef int16_t s16
 
typedef int32_t s32
 
typedef int64_t s64
 
typedef uint64_t u64
 
typedef int sint32
 
typedef intptr_t INTPTR
 
typedef uintptr_t UINTPTR
 
typedef ptrdiff_t PTRDIFF
 
typedef long LONG
 
typedef unsigned long ULONG
 
typedef void(* XInterruptHandler) (void *InstancePtr)
 
typedef void(* XExceptionHandler) (void *InstancePtr)
 

Macro Definition Documentation

◆ XUINT64_LSW

#define XUINT64_LSW (   x)    ((x).Lower)

Return the least significant half of the 64 bit data type.

Parameters
xis the 64 bit word.
Returns
The lower 32 bits of the 64 bit word.

◆ XUINT64_MSW

#define XUINT64_MSW (   x)    ((x).Upper)

Return the most significant half of the 64 bit data type.

Parameters
xis the 64 bit word.
Returns
The upper 32 bits of the 64 bit word.