19.6 Base Clock Interrupt Information (clock)
Here, information on the base clock interrupt is defined. The cfg600 outputs the file "ri_cmt.h" where the base clock timer initialization function (void _RI_init_cmt(void)) is described.
clock { timer = <1. Selection of timer channel for base clock (timer)>; template = <2. Template file (template)>; timer_clock = <3. CMT frequency (timer_clock)>; IPL = <4. Base clock interrupt priority level (IPL)>; }; |
Note 2 Do not select "CMT2" and "CMT3" when CMT channel 2 and channel 3 are not mounted with RX MCU to use, and when relocatable vector assigned to CMT channel 2 and channel 3 is different from Table 19-7 with RX MCU to use.
For example, RX111 does not support CMT channel 2 and channel 3. And in RX64M, relocatable vector assigned to CMT channel 2 and channel 3 is not 30 and 31.
For example, RX111 does not support CMT channel 2 and channel 3. And in RX64M, relocatable vector assigned to CMT channel 2 and channel 3 is not 30 and 31.
- When omitting
The set value in the default system configuration file (factory setting: CMT0) applied.
The set value in the default system configuration file (factory setting: CMT0) applied.
- Description
Specify template file where hardware information and initialization function of CMT is described.
This definition is ignored when either NOTIMER or OTHER is specified for timer.
The template files are provided by the RI600V4. The template files may be added in the future version.
Refer to the release notes for MCUs supported by each template file.
Either CMT1, CMT2 or CMT3 might be unsupported according to template file. When the unsupported CMT channel is specified for timer, the cfg600 does not detect error but the error is detected at compilation of the file which includes ri_cmt.h.
Specify template file where hardware information and initialization function of CMT is described.
This definition is ignored when either NOTIMER or OTHER is specified for timer.
The template files are provided by the RI600V4. The template files may be added in the future version.
Refer to the release notes for MCUs supported by each template file.
Either CMT1, CMT2 or CMT3 might be unsupported according to template file. When the unsupported CMT channel is specified for timer, the cfg600 does not detect error but the error is detected at compilation of the file which includes ri_cmt.h.
- When omitting
The set value in the default system configuration file (factory setting: rx610.tpl) applied.
The set value in the default system configuration file (factory setting: rx610.tpl) applied.
- Description
Define frequency of the clock supplied to CMT. Please specify the frequency of PCLK (peripheral clock).
Define frequency of the clock supplied to CMT. Please specify the frequency of PCLK (peripheral clock).