User`s manual
RX62N Group, RX621 Group 4. Library Reference
Description (2/2)
[data3]
Configure the output control. If multiple selections are required, use "|" to separate each selection.
The default settings are shown in bold. Specify PDL_NO_DATA to use the defaults.
•
Output control for pin TMOn
PDL_TMR_OUTPUT_IGNORE_CM_A or
PDL_TMR_OUTPUT_LOW_CM_A or
PDL_TMR_OUTPUT_HIGH_CM_A or
PDL_TMR_OUTPUT_INV_CM_A
No change if a compare match A occurs.
0 is output if a compare match A occurs.
1 is output if a compare match A occurs.
The output toggles if a compare match A occurs.
PDL_TMR_OUTPUT_IGNORE_CM_B or
PDL_TMR_OUTPUT_LOW_CM_B or
PDL_TMR_OUTPUT_HIGH_CM_B or
PDL_TMR_OUTPUT_INV_CM_B
No change if a compare match B occurs.
0 is output if a compare match B occurs.
1 is output if a compare match B occurs.
The output toggles if a compare match B occurs.
[data4]
The counter value.
[data5]
The compare match A value.
[data6]
The compare match B value.
[func1]
The function to be called when an overflow occurs. Use PDL_NO_FUNC if not required.
[func2]
The function to be called when a Compare match A occurs. Use PDL_NO_FUNC if not required.
[func3]
The function to be called when a Compare match B occurs. Use PDL_NO_FUNC if not required.
[data7]
The interrupt priority level. Select between 1 (lowest priority) and 15 (highest priority).
This parameter will be ignored if PDL_NO_FUNC is specified for all parameters func1, func2 and
func3.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
Timer TMR
Reference
R_TMR_Set
Remarks
•
If an input pin (TMCIn or TMRIn) is selected, this function will configure the direction and input
buffer control for that pin. Please use R_TMR_Set to select source (A/B) of the input signals if
needed. The default source selection is based on value after MCU reset.
•
User needs to ensure no higher priority modules using the same pins as required by this
function.
•
A closed clock loop will be created if:
The overflow signal from TMR1 is selected for TMR0 and the compare match A signal from
TMR0 is selected for TMR1, or
The overflow signal from TMR3 is selected for TMR2 and the compare match A signal from
TMR2 is selected for TMR3.
Either case should be avoided.
•
If a callback function is specified, this function will enable the relevant interrupt.
Please see the notes on callback function usage in §6.
•
A callback function is executed by the interrupt processing function. This means that no other
interrupt can be processed until the callback function has completed.
R20UT0084EE0112 Rev.1.12 Page 4-128
July. 16, 2014