CTRDG_GetPhiClock

Syntax

#include <nitro/ctrdg.h>

CTRDGPhiClock CTRDG_GetPhiClock( void )

Arguments

None.

Return Values

PHI terminal output control settings.

Description

This function acquires the PHI terminal output control settings.

The return value is a CTRDGPhiClock enumerated type that has the following meanings:

CTRDG_PHI_CLOCK_LOW Low-level output
CTRDG_PHI_CLOCK_4MHZ 4.19MHz clock output
CTRDG_PHI_CLOCK_8MHZ 8.38MHz clock output
CTRDG_PHI_CLOCK_16MHZ 16.76MHz clock output


This function reads the setting value of the ARM9 and returns the value. (Usually, the ARM9 and ARM7 use the same setting value. The CTRDG_SetPhiClock() function simultaneously sets both processors.)

Internal Operation

Accesses the EXMEMCNT I/O register (0x4000204).

See Also

CTRDG_SetPhiClock

Revision History

2006/04/28 Changed from MI_ to CTRDG_
2003/12/18 Initial version


CONFIDENTIAL