PISO-CPM100(U) / PCM-CPM100 user manual (ver. 2.02) Dec/03/2012 ----------------- 94
4.5.59.
CPM100_GetBootUpNodeAfterAdd
Description:
If users don’t know which slave node occur the boot-up message and
which CPM100 received it. Users can use the function
CPM100_GetBootUpNodeAfterAdd. This function can get not only the
slave node ID but also the slot number of the CPM100. The parameter,
BoardNo, indicates the number of the CPM100 which receives the
boot-up message. The parameter, Node, is the ID of the slave node
which produces the boot-up message. The
CPM100_GetBootUpNodeAfterAdd function is usually applied with the
function CPM100_InstallBootUpISR. But note that, this function can
only get the slave node ID that has already been added
(CPM100_AddNode) to the CPM100.
Syntax:
WORD
CPM100_GetBootUpNodeAfterAdd (
BYTE
*BoardNo,
BYTE
*Node)
Parameter:
BoardNo:
[input] Get the board number of the CPM100 which receives
the boot-up message.
Node:
[input] Get the slave node ID of the received boot-up message.