Datasheet

Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 736 of 910
REJ09B0350-0300
(e) Division Ratio Inquiry
The boot program will return the supported division ratios in response to the inquiry.
Command H'22
Command, H'22, (one byte): Inquiry regarding division ratio
Response H'32 Size Number
of types
Number of division
ratios
Division
ratio
SUM
Response, H'32, (one byte): Response to the division ratio inquiry
Size (one byte): The total amount of data that represents the number of types, the number of
division ratios, and the division ratios
Number of types (one byte): The number of supported divided clock types
(e.g. when there are two divided clock types, which are the main and peripheral clocks, the
number of types will be H'02.)
Number of division ratios (one byte): The number of division ratios for each type
(e.g. the number of division ratios to which the main clock can be set and the peripheral clock
can be set.)
Division ratio (one byte)
Division ratio: The inverse of the division ratio, i.e. a negative number (e.g. when the clock is
divided by two, the value of division ratio will be H'FE. H'FE = D'-2)
The number of division ratios returned is the same as the number of division ratios and as
many groups of data are returned as there are types.
SUM (one byte): Checksum