Return to previous page | Return to menu | Go to next page
-
Timer library
-
1.Guide
-
1.1 Purpose
- This library mainly provides function-style macros that acquire programmable WAIT (waiting time) and processing time.
-
1.2 Overview
- The timer uses a free running timer (hereinafter referred to as FRT) in the CPU and a timer interrupt in the SCU. Considering the following uses depending on each device, we prepared function format macros.
SCU
- Time synchronized with V-Blank and H-Blank can be obtained. It can be used as information for performing game screen effects.
CPU
- The exact waiting time (WAIT) required for programming can be set. A relatively accurate WAIT can be executed in a C language program.
- You can get the elapsed time. This can be used to measure program processing time.
Return to previous page | Return to menu | Go to next page