Renesas H8S/2628 Informações Técnicas Página 350

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 349
322
6.15.2 Breaking Execution at Event Points
Setting up of an event point on event channel 1 (Ch1) such that a break is triggered when the event point’s
conditions have been satisfied five times is explained as an example of the use of event points.
Select [Eventpoints] from the [Code] submenu of the [View] menu. The [Event] window is displayed.
The breakpoint that has been previously set must be deleted. Click the [Breakpoints] window with the right-
hand mouse button and select [Delete All] from the popup menu to delete all the breakpoints that have been
set.
Click the [Event] tab.
Up to 12 event points (eight event channels and four range channels) can be set up as independent conditions. In
this example, we are setting the condition for event channel 1.
Figure 6.35 [Event] Window (Event Channel 1 [Ch1])
Select the line for Ch1 in the [Event] window. Double-click on this line that is highlighted.
The [Breakpoint/Event Properties] dialog box is displayed.
Make the following settings in the boxes on the [General] page:
Select the [Event] radio button in the [Type] group box.
Select the [Address] radio button in the [Address] group box. Then use the [Source] window to refer to the
address on the line that has ‘a[i]=j;’ within the tutorial function and enter this address in the [Address
Lo] edit box. In this example, enter H'0000105c.
Enter D’5 as the number of times the event condition is to be satisfied in the [Required number of event
occurrences] edit box on the [Action] page.
Vista de página 349
1 2 ... 345 346 347 348 349 350 351 352 353 354 355 ... 429 430

Comentários a estes Manuais

Sem comentários