CHAPTER 18 DATA TYPES AND MACROS
This chapter describes the data types and macros, which are used when issuing service calls provided by the RI600PX.
Note <ri_root> indicates the installation folder of RI600PX.
The default folder is "C:\Program Files\Renesas Electronics\CubeSuite+\RI600PX".
The default folder is "C:\Program Files\Renesas Electronics\CubeSuite+\RI600PX".
Macro definition of the data type is performed by <ri_root>\in600\kernel.h, or <ri_root>\inc600\itron.h that is included by kernel.h.
- System information header file kernel_id.h, which is generated by the cfg600px.
The contents of this file is changed according to the system configuration file.
The contents of this file is changed according to the system configuration file.
3 ) ER ERCD ( ER mercd, ER sercd )
Return the error code from the main error code indicated by mercd and sub error code indicated by sercd.
Return the error code from the main error code indicated by mercd and sub error code indicated by sercd.
Note In the error code returned from the RI600PX, all sub error code is -1, and all main error code is same as the value described in Table 18-2.
1 ) SIZE TSZ_DTQ ( UINT dtqcnt )
Returns the size of a data queue area in which the dtqcnt number of data items can be stored. (in bytes)
Returns the size of a data queue area in which the dtqcnt number of data items can be stored. (in bytes)
1 ) SIZE TSZ_MPF ( UINT blkcnt, UINT blksz )
Returns the size of a fixed-sized memory pool from which blkcnt number of blksz-byte memory blocks can be acquired. (in bytes)
Returns the size of a fixed-sized memory pool from which blkcnt number of blksz-byte memory blocks can be acquired. (in bytes)
2 ) SIZE TSZ_MPFMB ( UINT blkcnt, UINT blksz )
Returns the size of the management area required for a fixed-sized memory pool from which blkcnt number of blksz-byte memory blocks can be acquired. (in bytes)
Returns the size of the management area required for a fixed-sized memory pool from which blkcnt number of blksz-byte memory blocks can be acquired. (in bytes)
1 ) ATR TA_DOM ( ID domid )
Returns attribute which represents to belong to the domain indicated by domid. This macro is used for bit7-4 of tskatr (task attribute) at task creation.
Returns attribute which represents to belong to the domain indicated by domid. This macro is used for bit7-4 of tskatr (task attribute) at task creation.
Returns access permission vector that represents "all types of access (operand-read, operand-write, execution) are permitted only for the domain indicated by domid".