AT-NFC 2.1 (win) AT-NFC kernel set

Macros | Typedefs
Basic Types

Basic data types used by Kernel. More...

## Macros
#define | KER_FALSE 0
#define | KER_TRUE 1
#define | KER_NULL 0
#define | KER_INT32U_MAX_VAL 0xFFFFFFFF
#define | KER_INT16U_MAX_VAL 0xFFFF

## Typedefs
typedef unsigned char | KER_INT8U
typedef signed char | KER_INT8S
typedef unsigned short | KER_INT16U
typedef signed short | KER_INT16S
typedef unsigned int | KER_INT32U
typedef signed int | KER_INT32S
typedef char | KER_CHAR
typedef void | KER_VOID
typedef KER_INT8U | KER_BOOL
typedef KER_INT16U | KER_RES
typedef uint8_t | KER_BYTE
typedef uint32_t | KER_FIXED_INT32U
typedef int32_t | KER_FIXED_INT32S
typedef unsigned long | KER_NATIVE_ULONG
typedef unsigned int | KER_NATIVE_UINT

## Detailed Description

Basic data types used by Kernel.

This types could be redefined according to terminal compiler requirements

## Macro Definition Documentation

## ◆ KER_FALSE

#define KER_FALSE 0

FALSE value for KER_BOOL type

## ◆ KER_INT16U_MAX_VAL

#define KER_INT16U_MAX_VAL 0xFFFF

KER_INT16U Max value

## ◆ KER_INT32U_MAX_VAL

#define KER_INT32U_MAX_VAL 0xFFFFFFFF

KER_INT32U Max value

## ◆ KER_NULL

#define KER_NULL 0

NULL pointer

## ◆ KER_TRUE

#define KER_TRUE 1

TRUE value for KER_BOOL type

## Typedef Documentation

## ◆ KER_BOOL

typedef KER_INT8U KER_BOOL

At least 8-Bit Unsigned (internal prefix b) KER_FALSE - FALSE; KER_TRUE - TRUE

## ◆ KER_BYTE

typedef uint8_t KER_BYTE

Fixed 8-Bit Unsigned (internal prefix bt) 0 -> 255 (0x00 -> 0xFF)

## ◆ KER_CHAR

typedef char KER_CHAR

At least 8-Bit Signed? (internal prefix ch) -128 -> 127

## ◆ KER_FIXED_INT32S

typedef int32_t KER_FIXED_INT32S

Fixed 32-Bit Signed (internal prefix lf) -2147483648 -> 2147483647

## ◆ KER_FIXED_INT32U

typedef uint32_t KER_FIXED_INT32U

Fixed 32-Bit Unsigned (internal prefix ulf) 0 -> 4294967295 (0x00000000 -> 0xFFFFFFFF)

## ◆ KER_INT16S

typedef signed short KER_INT16S

At least 16-Bit Signed (internal prefix s) -32768 -> 32767

## ◆ KER_INT16U

typedef unsigned short KER_INT16U

At least 16-Bit Unsigned (internal prefix us) 0 -> 65535 (0x0000 -> 0xFFFF)

## ◆ KER_INT32S

typedef signed int KER_INT32S

At least 32-Bit Signed (internal prefix l) -2147483648 -> 2147483647

## ◆ KER_INT32U

typedef unsigned int KER_INT32U

At least 32-Bit Unsigned (internal prefix ul) 0 -> 4294967295 (0x00000000 -> 0xFFFFFFFF)

## ◆ KER_INT8S

typedef signed char KER_INT8S

At least 8-Bit Signed (internal prefix sc) -128 -> 127

## ◆ KER_INT8U

typedef unsigned char KER_INT8U

At least 8-Bit Unsigned (internal prefix bt) 0 -> 255 (0x00 -> 0xFF)

## ◆ KER_NATIVE_UINT

typedef unsigned int KER_NATIVE_UINT

This type used to pass u and X param to sprintf

## ◆ KER_NATIVE_ULONG

typedef unsigned long KER_NATIVE_ULONG

This type used to pass lu and lX param to sprintf

## ◆ KER_RES

typedef KER_INT16U KER_RES

At least 16-Bit Unsigned (internal prefix res) 0 -> 65535 (0x0000 -> 0xFFFF)

## ◆ KER_VOID

typedef void KER_VOID

At least 32-Bit Unsigned (internal prefix v) to handle pointers