Graphics framework for GR-PEACH.
When you use this program, we judge you have agreed to the following contents.
https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependents:
ImageZoomInout_Sample
ImageRotaion_Sample
ImageScroll_Sample
GR-PEACH_LCD_4_3inch_Save_to_USB
... more
« Back to documentation index
vsync.c File Reference
Go to the source code of this file.
Detailed Description
Module: CLibCommon
PublicVersion: 1.00
(=CLIB_VERSION)
Rev:
Date:
Definition in file vsync.c .
Function Documentation
bool_t R_V_SYNC_DisableInterrupt
(
int_fast32_t const
ChannelNum )
Disable interrupt API.
Parameters:
Returns: None
Definition at line 439 of file vsync.c .
void R_V_SYNC_EnableInterrupt
(
int_fast32_t const
ChannelNum )
Enable interrupt API.
Parameters:
Returns: None
Definition at line 414 of file vsync.c .
R_V_SYNC_Finalize.
Parameters:
ChannelNum ChannelNum
e Errors that have occurred. No error = 0
Returns: Error code or e, 0 = successful and input e=0
Definition at line 170 of file vsync.c .
Get <r_v_sync_async_status_t>
Parameters:
ChannelNum ChannelNum
out_Status AsyncStatus
Returns: Error Code. 0=No Error.
Definition at line 385 of file vsync.c .
static bool_t R_V_SYNC_I_LOCK_Lock
(
r_v_sync_i_lock_t *const
self )
[static]
Lock.
Parameters:
Returns: Was interrupt enabled
Definition at line 488 of file vsync.c .
static void R_V_SYNC_I_LOCK_Reset
(
r_v_sync_i_lock_t *const
self )
[static]
Reset I-Lock (Interrupt Lock)
Parameters:
Returns: None
Definition at line 468 of file vsync.c .
static void R_V_SYNC_I_LOCK_Unlock
(
r_v_sync_i_lock_t *const
self )
[static]
Unlock.
Parameters:
Returns: None
Definition at line 523 of file vsync.c .
errnum_t R_V_SYNC_Initialize
(
int_fast32_t const
ChannelNum )
Initialize V-Sync object of specified channel number.
Parameters:
Returns: Error Code. 0=No Error.
Definition at line 128 of file vsync.c .
Receive interrupt information.
Parameters:
Returns: Error Code. 0=No Error.
Definition at line 316 of file vsync.c .
errnum_t R_V_SYNC_Wait
(
int_fast32_t const
ChannelNum ,
int_fast32_t const
SwapInterval ,
bool_t const
Is1VSyncAtMinimum
)
Wait for V-Sync.
Parameters:
ChannelNum ChannelNum
SwapInterval If 1=60fps Then 2=30fps, 3=20fps
Is1VSyncAtMinimum false = It is possible to return soon
Returns: Error Code. 0=No Error.
Definition at line 205 of file vsync.c .
errnum_t R_V_SYNC_WaitStart
(
int_fast32_t const
ChannelNum ,
int_fast32_t const
SwapInterval ,
bool_t const
Is1VSyncAtMinimum ,
r_ospl_async_t *const
Async
)
Asynchronous function of <R_V_SYNC_Wait>
Parameters:
ChannelNum ChannelNum
SwapInterval If 1=60fps Then 2=30fps, 3=20fps
Is1VSyncAtMinimum false = It is possible to set event soon
Async r_ospl_async_t
Returns: Error Code. 0=No Error.
Definition at line 239 of file vsync.c .
Variable Documentation
V-Sync context.
Definition at line 101 of file vsync.c .