#include "mb.h"
Functions | |
eMBErrorCode | eMBRegInputCB (UCHAR *pucRegBuffer, USHORT usAddress, USHORT usNRegs) |
eMBErrorCode | eMBRegHoldingCB (UCHAR *pucRegBuffer, USHORT usAddress, USHORT usNRegs, eMBRegisterMode eMode) |
eMBErrorCode | eMBRegCoilsCB (UCHAR *pucRegBuffer, USHORT usAddress, USHORT usNCoils, eMBRegisterMode eMode) |
eMBErrorCode | eMBRegDiscreteCB (UCHAR *pucRegBuffer, USHORT usAddress, USHORT usNDiscrete) |
|
Callback function used if a Coil Register value is read or written by the protocol stack. If you are going to use this function you might use the functions xMBUtilSetBits( ) and xMBUtilGetBits( ) for working with bitfields.
|
|
Callback function used if a Input Discrete Register value is read by the protocol stack. If you are going to use his function you might use the functions xMBUtilSetBits( ) and xMBUtilGetBits( ) for working with bitfields.
|
|
Callback function used if a Holding Register value is read or written by the protocol stack. The starting register address is given by
|
|
Callback function used if the value of a Input Register is required by the protocol stack. The starting register address is given by
|