RSK+RZA1H
4. Reviewing the Tutorial Program
R20UT2845EG0200
Rev.
2.00
Page 25 of 34
Press [F7] or ‘Step Out’
to
execute the static_test() function.
Observe the string on the bottom
line of the LCD change one
character at a time from ‘STATIC’
to TESTTEST’ as the ‘static_test’
function is executed.
After all characters have been
changed, the LCD bottom line will
return to displaying ‘STATIC’.
The debugger will stop the
program at the cleardisplayarea()
function. Press F6 or click ‘Step
Over’ to execute this function and
clear the display.
The next portion of code sets up a
timer to flash LEDs at a variable
rate in an interrupt handler. The
timer is set up by calls to
R_OSTM_Init() and
R_OSTM_Open().
The timer variable rate is
controlled by reading the ADC in a
while loop and setting the timer
expiration value accordingly.
Mar 21, 2014
Содержание RZ/A1H Series
Страница 34: ...RZA1H Group R20UT2845EG0200 ...