Interfaces Compiler

Keil


Files Description
WSTCompiler.h This file defines the following types:
  • RiCBoolean
boolean
  • timeUnit
unint32
  • RiCHandle
sint8
  • gen_ptr
void *
  • eventID_t
sint16
This file defines the following macros:
  • TRUE
1
  • FALSE
0
  • WST_NEARD

  • WST_FARD

  • WST_NEARC

  • WST_FARC

  • WST_NEARD_ADDRESS_SIZE1
16
  • WST_FARD_ADDRESS_SIZE1
32
  • WST_NEARC_ADDRESS_SIZE1
16
  • WST_FARC_ADDRESS_SIZE1
32
  • WST_TIMEUNIT_ADDRESS_SIZE1
32
  • RIC_OS_TOLOWER_DEFINED_IN_CTYPE

  • WST_TM_OVERFLOW
LONG_MAX
  • MALLOC_ARGUMENT_TYPE
size_t
  • MALLOC_RETURN_TYPE
depending on memory model one of:
  • void far *
  • void huge *
  • void xhuge *
  • FREE_ARGUMENT_TYPE
depending on memory model one of:
  • void far *
  • void huge *
  • void xhuge *
  • FREE_RETURN_TYPE
void
  • WST_MEMCPY_IS_MAPPED
depending on memory model when memcpy() is mapped to
  • fmemcpy
  • xmemcpy
  • RiC_UINT64

  • RiC_INT32_MIN
(sint32) LONG_MIN
  • RiC_INT32_MAX
(sint32) LONG_MAX
  • RhpPositive_MAX
(uint32) ULONG_MAX

1 ANSI-C does not allow for use of the sizeof operator in preprocessor statements, which is why we use these _ADDRESS_SIZE macros. These macros are used for Memory Section Management.
         
WSTCompiler.c
  • WSTCompiler_Init()
This function calls init_mempool() or xinit_mempool() using a constant INIT_MEMPOOL.

WSTCompilerTypes.h This file may be part of a Board Support Package installation, and its types may be visible inside a Rhapsody project.
 
This file defines the following types:
  • sint8
signed char
  • uint8
unsigned char
  • sint16
signed short
  • uint16
unsigned short
  • sint32
signed long
  • uint32
unsigned long
  • boolean
char
  • char_t
char
  • int_t
int
  • struct_t
unsigned int



Copyright (c) Willert Software Tools GmbH. All rights reserved.