.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ENCODE_RS16" "9" "09 October 2005" "" ""
.SH NAME
encode_rs16 \- Calculate the parity for data values (16bit data width)
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int encode_rs16 (struct rs_control * \fIrs\fB, uint16_t * \fIdata\fB, int \fIlen\fB, uint16_t * \fIpar\fB, uint16_t \fIinvmsk\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrs\fB\fR
the rs control structure
.TP
\fB\fIdata\fB\fR
data field of a given type
.TP
\fB\fIlen\fB\fR
data length
.TP
\fB\fIpar\fB\fR
parity data, must be initialized by caller (usually all 0)
.TP
\fB\fIinvmsk\fB\fR
invert data mask (will be xored on data, not on parity!)
.SH "DESCRIPTION"
.PP
Each field in the data array contains up to symbol size bits of valid data.
.SH "DESCRIPTION"
.PP
Each field in the data array contains up to symbol size bits of valid data.