3.2.5 Timer array unit

Below is a list of API functions output by the Code Generator for timer array unit use.

Table 3.5

API Functions: [Timer Array Unit]

API Function Name

Function

R_TAUm_Create

Performs initialization necessary to control the timer array unit.

R_TAUm_Create_UserInit

Performs user-defined initialization relating to the timer array unit.

r_taum_channeln_interrupt

Performs processing in response to the timer interrupt INTTMmn.

r_taum_channeln_higher8bits_interrupt

Performs processing in response to the timer interrupt INTTMmnH.

R_TAUm_Channeln_Start

Starts the count for channel n.

R_TAUm_Channeln_Higher8bits_Start

Starts the count (higher 8-bit) for channel n.

R_TAUm_Channeln_Lower8bits_Start

Starts the count (lower 8-bit) for channel n.

R_TAUm_Channeln_Stop

Ends the count for channel n.

R_TAUm_Channeln_Higher8bits_Stop

Ends the count (higher 8-bit) for channel n.

R_TAUm_Channeln_Lower8bits_Stop

Ends the count (lower 8-bit) for channel n.

R_TAUm_Reset

Reset the timer array unit.

R_TAUm_Set_PowerOff

Halts the clock supplied to the timer array unit.

R_TAUm_Channeln_Get_PulseWidth

Captures the high/low-level width measured between pulses of the signal (pulses) input to the TImn pin.

R_TAUm_Channeln_Set_SoftwareTriggerOn

Generates the trigger (software trigger) for one-shot pulse output.