On Mon, 25 Jan 2021 at 16:51, Ralph Stirling
<[email protected]> wrote:

> I do not, however, see any of the advertised functions appear in the machine 
> configuration.
> Am I misunderstanding what "exported functions" means?

The functions are exported in the same sense as the other functions of
the hal API. External code modules can call the functions in the
Hostmot2 driver to access the internal data of the BSPI driver.

If you look at the mesa_7i65 driver code (
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa_7i65.comp
)  you can see how that code uses (for example)
"hm2_bspi_setup_chan()" which is a direct call to this function in the
Hostmot2 driver:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/bspi.c#L201


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to