wavelength 1.0.0
Loading...
Searching...
No Matches
timer.h File Reference
#include <vector>
#include "os/cycles.h"
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Timer
 Stopwatch on the EE cycle counter. More...

Functions

void TimerSleep (int nMs)
 Busy-wait on the system clock.
void TimerInit ()
 Set the cycle conversion and restart the system clock from zero.
void TimerLoadNames ()
 Build the named timers, one for each symbol of the timer block of the system configuration.
void TimerTerminate ()
 Shut the timers down.

Function Documentation

◆ TimerSleep()

void TimerSleep ( int nMs)

Busy-wait on the system clock.

Parameters
nMsThe milliseconds to wait.
Ghidra address:
NTSC-U/C: 0x0028d020
Ghidra address:
PAL: 0x00296a00

◆ TimerInit()

void TimerInit ( )

Set the cycle conversion and restart the system clock from zero.

Ghidra address:
NTSC-U/C: 0x0028d1a0
Ghidra address:
PAL: 0x00296b80

◆ TimerLoadNames()

void TimerLoadNames ( )

Build the named timers, one for each symbol of the timer block of the system configuration.

Ghidra address:
NTSC-U/C: 0x0028d268
Ghidra address:
PAL: 0x00296c48

◆ TimerTerminate()

void TimerTerminate ( )

Shut the timers down.

The body does nothing.

Ghidra address:
NTSC-U/C: 0x0028d3a0
Ghidra address:
PAL: 0x00296d80