Skip to main content

IAR Embedded Workbench for RH850 3.20.x

__readMemory8, __readMemoryByte

In this section:
Syntax
__readMemory8(address, zone)
__readMemoryByte(address, zone)
Parameters
address

The memory address (integer).

zone

A string that specifies the memory zone, see C-SPY memory zones.

Return value

The macro returns the value from memory.

For use with

All C-SPY drivers.

Description

Reads one byte from a given memory location.

Example
__readMemory8(0x0108, "");