English
Language : 

CC78K4 Datasheet, PDF (363/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 11 EXTENDED FUNCTIONS
(17) Absolute address access function
Absolute Address Access Function
#pragma access
FUNCTION
• A code to access the ordinary RAM space is output to the object with direct inline expansion, not by function
call, and an object file is created.
• If the #pragma directive is not described, a function accessing an absolute address is regarded as an
ordinary function.
EFFECT
• A specific address in the ordinary memory space can be easily accessed using C description.
USAGE
• Describe the #pragma access directive at the beginning of the C source.
• Describe the directive in the source in the same format as a function call.
• The following items can be described before #pragma access.
. Comment statement
. Other #pragma directives
. Preprocessing directive that neither defines nor references a variable or function
• The keywords following #pragma can be described in either uppercase or lowercase letters.
The following four function names are available for absolute address accessing.
peekb, peekw, pokeb, pokew
User’s Manual U15556EJ1V0UM
363