Timer
R2026bImplement timer functionality using General Purpose Timer (GPT) or Asynchronous General-Purpose Timer (AGT) peripherals
Since R2026b
Libraries:
Embedded Coder Support Package for Renesas RA
Microcontrollers /
Renesas RA6 Based
Description
The Timer block implements timer functionality using the General PWM Timer (GPT) or Asynchronous General-Purpose Timer (AGT) peripherals on Renesas RA microcontrollers. The block uses configurable timer instances defined in the RA Smart Configurator project and provides access to timer count values through the FSP (Flexible Software Package) APIs.
The block provides the following capabilities:
Read the current timer count value.
Dynamically control the timer period during execution.
Start or stop the timer counter during execution.
Reset the timer counter on demand.
Monitor the FSP API status of timer operations.
The timer starts automatically after initialization and continues counting based on the configured clock source and period settings.
Examples
Ports
Input
Output
Parameters
Version History
Introduced in R2026b

