result 1 result 2
Go back to reference home
Go back to Timer module
functions
initInitialize a timer.
createCreate a timer object.
startStart a timer.
expiredCheck if a timer has expired.
restartRestart a timer.
types
napc__TimerRepresentation of a timer.

restart

Restart a timer.

This fn does not have a description.

Function Protoype


void napc_Timer_restart(
    napc__Timer * timer
);

Parameter


timer
Pointer to napc__Timer variable.

Example Usage


if (napc_Timer_expired(&timer)) {
    napc_Timer_restart(&timer);
}

Changelog


Version
Date
Change
1.0.0
17.02.2022
initial version
Version: 1.4.1
Documentation generated at 24.03.2022 03:43:18 (UTC)
Go back to reference home
Go back to Timer module
functions
initInitialize a timer.
createCreate a timer object.
startStart a timer.
expiredCheck if a timer has expired.
restartRestart a timer.
types
napc__TimerRepresentation of a timer.