class PRUSS
More...
#include <pruss.h>
◆ bootUp()
Boot Up the PRU-ICSS.
Probe the pru_rproc remoteproc driver so that all the sysfs entries for controlling the PRUs are created. Sets the 'state' of the PRU to STOPPED after successfully probing the driver
- Returns
- 0 if pru_rproc is probed successfully
◆ get()
Function that returns an object of type PRUSS to the user.
- Returns
- object of type PRUSS
◆ isOn()
Check if the PRU-ICSS has booted up.
- Returns
- boolean value true if the pru_rproc driver has been probed
◆ restart()
Restart the PRU-ICSS system.
Shuts down and restarts the PRU-ICSS
- See also
- shutDown()
-
bootUp()
◆ shutDown()
Shut Down the PRU-ICSS.
Stops both the PRUs and unprobes the pru_rproc remoteproc driver from the kernel Sets the 'state' of both PRUs to NONE after successfully doing so
- Returns
- 0 if pru_rproc is unprobed successfully
The documentation for this class was generated from the following files:
- cpp-bindings/pruss.h
- cpp-bindings/pruss.cpp