Renesas Electronics
Below is a list of API functions output by the Code Generator for general PWM timer use.
Table 3.16
API Functions: [General PWM timer]
API Function Name
Function
R_GPT_Create
Performs initialization necessary to control the general PWM timer.
R_GPT_Create_UserInit
Performs user-defined initialization relating to the general PWM timer.
r_gpt_gtcimn_interrupt
Performs processing in response to the input capture/compare match interrupt.
r_gpt_gtcivn_interrupt
Performs processing in response to the overflow interrupt.
r_gpt_gtciun_interrupt
Performs processing in response to the underflow interrupt.
r_gpt_gdten_interrupt
Performs processing in response to the dead time error interrupt.
r_gpt_etgip_interrupt
Performs processing in response to the external trigger rising interrupt.
r_gpt_etgin_interrupt
Performs processing in response to the external trigger falling interrupt.
R_GPTn_Start
Starts counting by a 16-bit timer.
R_GPTn_Stop
Ends counting by a 16-bit timer.
R_GPTn_HardwareStart
Allows GPT interrupts.
R_GPTn_HardwareStop
Prohibits GPT interrupts.