PreviousNext
bit IFaceMasterNotConnected
Help > Custom DPA Handler > DPA API Variables > bit IFaceMasterNotConnected

[readonly] Valid at [C] device. Equals 1 when the master interface device was not connected during device startup.

 

In the case of the SPI interface, it is considered not connected when a Reset DPA Request is not read during the startup process.

 

In the case of the UART interface, it is considered not connected when there was no DPA message received by the interface yet.

 

Please note that this flag might become 0 when a master interface device sends some data to the [C] device later. The variable value is valid after the Init event.

 

See example CustomDpaHandler-Coordinator-PulseLEDs.c for more details.