RX110 Group Initial Setting APPLICATION NOTE
Clocks are configured in the following steps:
1. Sub-clock setting (including the associated RTC settings)
2. Main clock setting
3. HOCO clock setting
4. System clock switching
In this application note, the clock settings are switched by changing the constants defined in r_init_clock.h. In the sample code, the main clock is used as the system clock, and the sub-clock and RTC are not used. Change the constant to select the required clock setting.
The port direction registers which have nonexistent ports need to be specified with determined values. After the nonexistent port initialization function is called, when writing in byte units to the PDR registers or PODR registers which have nonexistent ports, set the corresponding bits for nonexistent ports as follows: set the values listed in Table 4.2 and Table 4.3 to the I/O select bits in the PDR registers, and set the output data store bits in the PODR registers to 0.
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
Sept.19.19 |
|
Rev. 1.02 |
|
R01AN1850EJ0102 |
|
1.8 MB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.