English
Language : 

CC78K0S Datasheet, PDF (357/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
Absolute Address Access Function
#pragma access
[List of functions for absolute address accessing]
(a) unsigned char peekb (addr);
unsigned int addr;
Returns 1-byte contents of address addr.
(b) unsigned int peekw (addr);
unsigned int addr;
Returns 2-byte contents of address addr.
(c) void pokeb (addr, data);
unsigned int addr;
unsigned char data;
Writes 1-byte contents of data to the position indicated by address addr.
(d) void pokew (addr, data);
unsigned int addr;
unsigned int data;
Writes 2-byte contents of data to the position indicated by address addr.
RESTRICTIONS
• A function name for absolute address accessing must not be used.
• Describe functions for absolute address accessing in lowercase letters. Functions described in uppercase
letters are handled as ordinary functions.
User’s Manual U14872EJ1V0UM
357