Renesas Solution Starter Kit for RX23W
4. Smart Configurator Using the e
R20UT4449EG0100 Rev. 1.00
Page 19 of 64
Aug.30.19
In ‘Config_CMT0’ configure CMT0 as shown in
. This timer is configured to generate a high
priority interrupt every 1ms. We will use this interrupt later in the tutorial to provide an API for generating high
accuracy delays required in our application.
Figure 4-10 Config_CMT0 setting
Click the ‘Add component’
icon. In ‘Software Component Selection’ dialog -> Type, select
‘
Drivers
’
.
Select ‘Compare Match Timer’ then click ‘Next’. In ‘Add new configuration for selected component’ dialog ->
Resource, select ‘CMT1’ as shown in
Figure 4-11 Select Resource – CMT1
Navigate to the ‘Config_CMT1’ and configure CMT1 as shown in
. This timer is configured to
generate a high priority interrupt after 20ms. This timer is used as our short switch de-bounce timer later in
this tutorial.
Figure 4-12 Config_CMT1 setting
Содержание RSSK
Страница 64: ...R20UT4449EG0100 RX23W Group ...