User`s manual
RX62N Group, RX621 Group 4. Library Reference
3. Types and definitions
3.1. Data types
This section describes the data types used in this library. For details about the setting values, refer to the section
"4.2 Description of Each API".
The header files stdint.h and stdbool.h are included with the Renesas RX compiler.
Table 1: Data types
Type
Defined in
Description
Range
bool
stdbool.h
Boolean
0 (false) to 1 (true)
float
C
Floating point, 32 bits
±∞
uint8_t
stdint.h
Unsigned, 8 bits
0 to 255
uint16_t
Unsigned, 16 bits
0 to 2
15
- 1
int32_t
Signed, 32 bits
-2
31
to 2
31
- 1
uint32_t
Unsigned, 32 bits
0 to 2
32
- 1
3.2. General definitions
3.2.1. PDL_NO_FUNC
Used as a parameter when there is no applicable function.
3.2.2. PDL_NO_PTR
Used as a parameter when there is no applicable data location.
3.2.3. PDL_NO_DATA
Used as a parameter when there is no applicable data value.
3.2.4. PDL_MCU_GROUP
The family supported by this build of the driver library. It is defined as RX62N.
A usage example is:
#if PDL_MCU_GROUP != RX62N
#error "Wrong RPDL !"
#endif
3.2.5.
PDL_VERSION
The version number of the RPDL library. The number is stored in BCD format (xx.xx). For example, 0100h is
v1.00.
A usage example is:
const uint16_t rpdl_version_number = PDL_VERSION;
3.2.6. Bit definitions
The definitions BIT_n and INV_BIT_n, where n = 0 to 31, are available to the user.
R20UT0084EE0112 Rev.1.12 Page 3-1
July. 16, 2014