Lines Matching full:8

100 		ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF]        = usCoilAddr >> 8;  in eMBMasterReqReadCoils()
102 ucMBFrame[MB_PDU_REQ_READ_COILCNT_OFF ] = usNCoils >> 8; in eMBMasterReqReadCoils()
131 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadCoils()
135 usCoilCount = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_COILCNT_OFF] << 8 ); in eMBMasterFuncReadCoils()
138 /* Test if the quantity of coils is a multiple of 8. If not last in eMBMasterFuncReadCoils()
142 ucByteCount = ( UCHAR )( usCoilCount / 8 + 1 ); in eMBMasterFuncReadCoils()
146 ucByteCount = ( UCHAR )( usCoilCount / 8 ); in eMBMasterFuncReadCoils()
207 ucMBFrame[MB_PDU_REQ_WRITE_ADDR_OFF] = usCoilAddr >> 8; in eMBMasterReqWriteCoil()
209 ucMBFrame[MB_PDU_REQ_WRITE_VALUE_OFF ] = usCoilData >> 8; in eMBMasterReqWriteCoil()
229 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBMasterFuncWriteCoil()
303 ucMBFrame[MB_PDU_REQ_WRITE_MUL_ADDR_OFF] = usCoilAddr >> 8; in eMBMasterReqWriteMultipleCoils()
305 ucMBFrame[MB_PDU_REQ_WRITE_MUL_COILCNT_OFF] = usNCoils >> 8; in eMBMasterReqWriteMultipleCoils()
309 ucByteCount = ( UCHAR )( usNCoils / 8 + 1 ); in eMBMasterReqWriteMultipleCoils()
313 ucByteCount = ( UCHAR )( usNCoils / 8 ); in eMBMasterReqWriteMultipleCoils()
344 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF] << 8 ); in eMBMasterFuncWriteMultipleCoils()
348 usCoilCnt = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_COILCNT_OFF] << 8 ); in eMBMasterFuncWriteMultipleCoils()
356 ucByteCountVerify = ( UCHAR )( usCoilCnt / 8 + 1 ); in eMBMasterFuncWriteMultipleCoils()
360 ucByteCountVerify = ( UCHAR )( usCoilCnt / 8 ); in eMBMasterFuncWriteMultipleCoils()