User`s manual
RX62N Group, RX621 Group 4. Library Reference
Description (2/2)
[data5]
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 both parameters func1and func2.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
Timer TMR
Reference
R_CGC_Set, R_TMR_CreateChannel, R_TMR_CreateUnit
Remarks
•
Function R_CGC_Set must be called before any use of this function.
•
This function is an alternative to R_TMR_CreateChannel and R_TMR_CreateUnit.
•
User needs to ensure no higher priority modules using the same pins as required by this
function.
•
If a callback function is specified, this function will enable the relevant interrupt. Please see the
notes on callback function use in §6.
•
The timing limits depend on the peripheral module clock, PCLK.
Equation
f
PCLK
(MHz)
50
48
12.5
12
8
Timer resolution
PCLK
f
1
20ns 20.8ns 80ns 83.3ns 125ns
Period
MIN
PCLK
f
2
40ns 41.7ns 160ns 166.7ns 250ns
Period
MAX_CHANNE
L
PCLK
f
21
2
41.9ms 43.7ms 167.7ms 174.8ms 262ms
Period
MAX_UNIT
PCLK
f
29
2
10.7s 11.2s 42.9s 44.7s 67.1s
Width
MIN
Period
MIN
Width
MAX_CHANNEL
Period
MAX_CHANNEL
Width
MAX_UNIT
Period
MAX_UNIT
f
MAX
2
PCLK
f
25 MHz 24 MHz 6.25 MHz 6 MHz 4 MHz
f
MIN_CHANNEL
21
2
PCLK
f
23.8 Hz 22.9 Hz 5.96 Hz 5.7 Hz 3.81 Hz
f
MIN_UNIT
29
2
PCLK
f
0.0931
Hz
0.0894
Hz
0.0232
Hz
0.0224
Hz
0.0149
Hz
•
If the requested period is not a multiple of the timer resolution, the actual time period will be more
than the requested time period.
•
The actual duty cycle will be less than the requested duty cycle if the resulting pulse width is not
a multiple of the timer resolution.
•
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-134
July. 16, 2014