##### Shinobi Library - Real-time Clock Function

# syRtcInit

Initializes the real-time clock functions

### FORMAT

`

  Sint32 syRtcInit( void )

`

### PARAMETER

  None

### RETURN

  SYD_RTC_ERR_OK | Normal end |
  SYD_RTC_ERR_FATAL | Abnormal end |

### DESCRIPTION

  Initializes the RTC functions and allocates a work area. Real-time clock functions accesses, gets date and time information from, and sets the real-time clock AICA on the G2 bus. AICA's real-time clock has a 32-bit counter with 1 second counting as 1 count.

### NOTE

  This function is called within the `sbInitSystem()` function.

syRtcInit

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999