nn::hio::CTR::SharedMemoryChannel Class

Header file: nn/hio.h

Syntax

class SharedMemoryChannel

Description

Class that represents the channels used for shared memory.

The CTR target board can communicate with a PC by opening the same channel on both sides to use for shared memory.

With both devices have the same channel open, they can use shared memory.

Member Functions

SharedMemoryChannel Constructor. You must make a separate call to Open to open a channel.
~SharedMemoryChannel Destructor. Closes a channel if it is open.
Open Opens a channel.
Close Closes the channel.
GetSpaceSize Gets the size of the shared memory.
Read Reads data from shared memory and returns the result of the operation.
Write Writes data to shared memory and returns the result of the operation.

Revision History

2010/03/31
Initial version.

CONFIDENTIAL