====== Peripheral Output ======
This block allows to write to a hardware output. This could be a digital output or an analog output. Such a block will always write to an output defined in the [[eeros_architecture:hal:start|]].
The constructor of this block looks like
PeripheralOutput(std::string id, bool exclusive = true);
As a parameter you must indicate the designator of the corresponding output in the [[eeros_architecture:hal:start|]]. Please make sure that the name is identical to the name in the [[eeros_architecture:hal:start|]]. If not the constructor will throw a fault. A second optional parameter indicates if the output has exclusive rights on the signal defined in the HAL.
Create a new output with
PeripheralOutput<> setValue("anOut0"); // anOut0 must be defined in hardware configuration file
PeripheralOutput enable("dOut4"); // dOut4 must be defined in hardware configuration file