getting_started:tutorials:hal0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:hal0 [2021/03/31 15:45] – ursgraf | getting_started:tutorials:hal0 [2021/03/31 15:46] (current) – ursgraf | ||
---|---|---|---|
Line 16: | Line 16: | ||
===== Accessing Output Signals Directly ===== | ===== Accessing Output Signals Directly ===== | ||
- | A peripheral output block delivers a signal to external hardware. Its signal value can be accessed with a get method, see line 46 in the comment in the example code in '' | + | A peripheral output block delivers a signal to external hardware. Its signal value can be accessed with a get method, see line 46 in the comment in the example code in [[https:// |
Alternatively the signal in the HAL could be accessed by getting an reference to the corresponding output block with | Alternatively the signal in the HAL could be accessed by getting an reference to the corresponding output block with | ||
<code cpp> | <code cpp> | ||
- | auto digOut = hal.getLogicOutput(" | + | auto digOut = hal.getLogicOutput(" |
</ | </ | ||
The signal value can then be logged with | The signal value can then be logged with |
getting_started/tutorials/hal0.txt · Last modified: 2021/03/31 15:46 by ursgraf