Getting Started with RSL10
www.onsemi.com
16
Figure 13. SVD Path Tab Perspective
3. In the
Debug
perspective, when the application runs up to the first breakpoint in
main
, open the
Peripherals
window view, by navigating to
Window
>
Show View
>
Other
>
Debug
>
Peripherals
and clicking
Open
.
Now you can see all the RSL10 peripherals displayed.
4. Select the peripheral that you need to monitor, and open the
Memory
window to show the RSL10 peripheral
registers. The read only registers are highlighted in green. If you wish, you can drag your Memory window and
place it side-by-side with your source code view (see Figure 15 on page 18).
5. Select
DIO
and
CLK
in the peripherals window. Now you can monitor the selected peripherals from the
Monitors tab and switch between them. To see or change the
DIO
register status, choose
DIO
and expand the
DIO
>
DIO_DATA
register in the Memory window.
6. Press F6 to step through the code. You can observe that this register’s bit 6 toggles its state when
Sys_GPIO_Toggle(LED_DIO)
is executed. The register turns yellow to indicate that you have activated
real-time monitoring for it. (see Figure 14).