Jo Engine  9
Jo Sega Saturn Engine
Macros | Enumerations | Functions
time.h File Reference

Time Management. More...

Go to the source code of this file.

Macros

#define JO_TIME_CKS_32_MODE
 
#define JO_TIME_M_CKS
 

Enumerations

enum  jo_time_memory_address { RegisterHighFRC, RegisterLowFRC, RegisterTCR }
 

Functions

static __jo_force_inline void jo_time_poke_byte (jo_time_memory_address addr, unsigned char data)
 
static __jo_force_inline unsigned char jo_time_peek_byte (jo_time_memory_address addr)
 
static __jo_force_inline unsigned int jo_time_get_sys_clock_value (void)
 
static __jo_force_inline int jo_time_get_frc (void)
 
static __jo_force_inline void jo_time_set_frc (unsigned char reg)
 
unsigned int jo_get_ticks (void)
 get ticks count More...
 

Detailed Description

Time Management.

Author
Johannes Fetz
Bug:
No known bugs.

Macro Definition Documentation

#define JO_TIME_CKS_32_MODE
#define JO_TIME_M_CKS

Enumeration Type Documentation

Enumerator
RegisterHighFRC 

FRC H register.

RegisterLowFRC 

FRC L register.

RegisterTCR 

TCR register.

Function Documentation

unsigned int jo_get_ticks ( void  )

get ticks count

Returns
ticks count from jo_core_run()
static __jo_force_inline int jo_time_get_frc ( void  )
static
static __jo_force_inline unsigned int jo_time_get_sys_clock_value ( void  )
static
static __jo_force_inline unsigned char jo_time_peek_byte ( jo_time_memory_address  addr)
static
static __jo_force_inline void jo_time_poke_byte ( jo_time_memory_address  addr,
unsigned char  data 
)
static
static __jo_force_inline void jo_time_set_frc ( unsigned char  reg)
static