CTRDG_GetPhiClock

C Specification

#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 ennumerated 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

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

CONFIDENTIAL