# VCP2_Params Struct Reference
[VCP2 Data Structures]

`#include <csl_vcp2.h>`

## Data Fields

VCP2_Rate | rate
Uint8 | constLen
Uint8 | poly0
Uint8 | poly1
Uint8 | poly2
Uint8 | poly3
Uint16 | yamTh
Uint16 | frameLen
Uint16 | relLen
Uint16 | convDist
Uint16 | traceBackIndex
Bool | traceBackEn
Uint16 | outOrder
Int16 | maxSm
Int16 | minSm
Uint8 | stateNum
Uint8 | bmBuffLen
Uint8 | decBuffLen
Uint8 | traceBack
Uint8 | readFlag
Uint8 | decision
Uint16 | numBmFrames
Uint16 | numDecFrames

## Detailed Description

VCP channel parameters structure that holds all of the information concerning the user channel. These values are used to generate the appropriate input configuration values for the VCP and to program the EDMA.

## Field Documentation

Uint8 VCP2_Params::bmBuffLen

Branch metrics buffer length in input FIFO

Uint8 VCP2_Params::constLen

Constraint length

Uint16 VCP2_Params::convDist

Convergence distance

Uint8 VCP2_Params::decBuffLen

Decisions buffer length in output FIFO

Uint8 VCP2_Params::decision

Decision selection: hard or soft

Uint16 VCP2_Params::frameLen

Frame length i.e. number of symbols in a frame

Int16 VCP2_Params::maxSm

Maximum initial state metric

Int16 VCP2_Params::minSm

Minimum initial state metric

Uint16 VCP2_Params::numBmFrames

Number of branch metric frames

Uint16 VCP2_Params::numDecFrames

Number of decision frames

Uint16 VCP2_Params::outOrder

Hard decision output ordering

Uint8 VCP2_Params::poly0

Polynomial 0

Uint8 VCP2_Params::poly1

Polynomial 1

Uint8 VCP2_Params::poly2

Polynomial 2

Uint8 VCP2_Params::poly3

Polynomial 3

VCP2_Rate VCP2_Params::rate

Code rate

Uint8 VCP2_Params::readFlag

Output parameters read flag

Uint16 VCP2_Params::relLen

Reliability length

Uint8 VCP2_Params::stateNum

State index set to the maximum initial state metric

Uint8 VCP2_Params::traceBack

Traceback mode

Bool VCP2_Params::traceBackEn

Traceback state index enable/disable

Uint16 VCP2_Params::traceBackIndex

Traceback state index

Uint16 VCP2_Params::yamTh

Yamamoto threshold value

The documentation for this struct was generated from the following file:

- csl_vcp2.h

Copyright 2012, Texas Instruments Incorporated