# csl_vcp2.h File Reference

Header file with data structure and API declarations for VCP2 CSL module. More...

`#include <ti/csl/csl.h>`
`#include <ti/csl/cslr_vcp2.h>`
`#include <ti/csl/soc.h>`

## Data Structures

struct | VCP2_PID
struct | VCP2_ConfigIc
struct | VCP2_Params
struct | VCP2_BaseParams
struct | VCP2_Errors
struct | VCP2_Poly
struct | VCP2BaseAddress
struct | VCP2Obj

## Defines

#define | VCP2_RATE_1_2 2
#define | VCP2_RATE_1_3 3
#define | VCP2_RATE_1_4 4
#define | VCP2_SPEED_CRITICAL 0
#define | VCP2_SPEED_MOST_CRITICAL 1
#define | VCP2_PERF_CRITICAL 2
#define | VCP2_PERF_MOST_CRITICAL 3
#define | VCP2_PERF_DEFAULT VCP2_SPEED_CRITICAL
#define | VCP2_OUTORDER_0_31 CSL_VCP2_VCPIC3_OUT_ORDER_LSB
#define | VCP2_OUTORDER_31_0 CSL_VCP2_VCPIC3_OUT_ORDER_MSB
#define | VCP2_DECISION_HARD CSL_VCP2_VCPIC5_SDHD_HARD
#define | VCP2_DECISION_SOFT CSL_VCP2_VCPIC5_SDHD_SOFT
#define | VCP2_OUTF_NO CSL_VCP2_VCPIC5_OUTF_NO
#define | VCP2_OUTF_YES CSL_VCP2_VCPIC5_OUTF_YES
#define | VCP2_TRACEBACK_NONE CSL_VCP2_VCPIC5_TB_NO
#define | VCP2_TRACEBACK_TAILED CSL_VCP2_VCPIC5_TB_TAIL
#define | VCP2_TRACEBACK_CONVERGENT CSL_VCP2_VCPIC5_TB_CONV
#define | VCP2_TRACEBACK_MIXED CSL_VCP2_VCPIC5_TB_MIX
#define | VCP2_UNPAUSE_ONESW CSL_VCP2_VCPEXE_COMMAND_RESTART_PAUSE
#define | VCP2_UNPAUSE_NORMAL CSL_VCP2_VCPEXE_COMMAND_RESTART
#define | VCP2_END_PACKED32 CSL_VCP2_VCPEND_SD_32BIT
#define | VCP2_END_NATIVE CSL_VCP2_VCPEND_SD_NATIVE
#define | VCP2_EMUHALT_DEFAULT CSL_VCP2_VCPEMU_SOFT_HALT_DEFAULT
#define | VCP2_EMUHALT_FRAMEEND CSL_VCP2_VCPEMU_SOFT_HALT_FRAMEEND
#define | VCP2_GEN_POLY_0 0x30
#define | VCP2_GEN_POLY_1 0xB0
#define | VCP2_GEN_POLY_2 0x50
#define | VCP2_GEN_POLY_3 0xF0
#define | VCP2_GEN_POLY_4 0x6C
#define | VCP2_GEN_POLY_5 0x94
#define | VCP2_GEN_POLY_6 0xF4
#define | VCP2_GEN_POLY_7 0xE4
#define | VCP2_GEN_POLY_GNULL 0x00

## Typedefs

typedef Uint32 | VCP2_Rate
typedef struct VCP2Obj | VCP2Obj
typedef struct VCP2Obj * | VCP2Handle

## Functions

VCP2Handle | VCP2_init (VCP2Obj *pVcp2Obj, int instNum, int *pStatus)
CSL_Status | VCP2_Close (VCP2Handle hVcp2)

## Detailed Description

Header file with data structure and API declarations for VCP2 CSL module.

  ============================================================================
  (C) Copyright 2008, 2009, Texas Instruments, Inc.
  Use of this software is controlled by the terms and conditions found
  in the license agreement under which this software has been supplied. ===========================================================================

Copyright 2012, Texas Instruments Incorporated