Skip to content

Commit 7de3e27

Browse files
committed
Preliminary - HAL types update and HAL isolation
1 parent fedbb56 commit 7de3e27

349 files changed

Lines changed: 24053 additions & 21807 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/src/config/python-hal-interface.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,23 @@ In that case, the call uses the _value_ to set the port's queue size and it must
206206
See below xref:_hal_port_pipes[on configuring a port]. +
207207
Throws a `RuntimeError` exception if HAL is not initialized.
208208

209+
hal.get_p(_name_:string)::
210+
Returns the value of the pin or param with _name_.
211+
If _name_ refers to a pin and that pin is connected, then the connected signal's value is returned.
212+
Boolean types return `True` or `False`.
213+
Integer scalar types return an integer.
214+
Floating point types return a float.
215+
A `RuntimeError` exception is thrown if no pin or param is found by that name. +
216+
Throws a `RuntimeError` exception if HAL is not initialized.
217+
218+
hal.get_s(_name_:string)::
219+
Returns the value of the signal with _name_.
220+
Boolean types return `True` or `False`.
221+
Integer scalar types return an integer.
222+
Floating point types return a float.
223+
A `RuntimeError` exception is thrown if no signal is found by that name. +
224+
Throws a `RuntimeError` exception if HAL is not initialized.
225+
209226
hal.get_value(_name_:string)::
210227
Returns the value of the pin, param or signal with _name_, searched in that order.
211228
Boolean types return `True` or `False`.

0 commit comments

Comments
 (0)