English
Language : 

CC78K4 Datasheet, PDF (331/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
(8) _ _boolean1 type variables
_ _boolean1 type variables
_ _boolean1
FUNCTION
• _ _boolean1 type variables are handled as 1-bit data and allocated to saddr1 area.
• _ _boolean1 type variables are handled in the same manner as external variables without an initial value
(undefined).
• The compiler outputs the following bit manipulation instructions for these bit variables.
MOV1, AND1, OR1, XOR1, SET1, CLR1, NOT1, BT, BF instructions
EFFECT
• Programming at the assembler source level and bit access to saddr1 area are enabled by C description.
USAGE
• Declares _ _boolean1 type in the module that uses _ _boolean1 type variables.
_ _boolean1 variable-name
• Declares the extern _ _boolean1 in the module that refers to _ _boolean1 type variables.
extern _ _boolean1 variable-name
• The sreg1 variables (except the element of an array and member of a union) of char/int/short/long types are
automatically enabled to be used as _ _boolean1 type variables.
variables-name.n (n is 0 to 31)
User’s Manual U15556EJ1V0UM
331