# VCP2Obj Struct Reference
[VCP2 Data Structures]

`#include <csl_vcp2.h>`

## Data Fields

CSL_Vcp2RegsOvly | regs
CSL_Vcp2CfgRegsOvly | cfgregs
CSL_InstNum | perNum

## Detailed Description

This structure/object holds the context of the instance of VCP2 opened using VCP2_init() function.

Pointer to this object is passed as VCP2 Handle to all VCP2 CSL APIs. VCP2_init() function intializes this structure based on the parameters passed

## Field Documentation

CSL_Vcp2CfgRegsOvly VCP2Obj::cfgregs

Pointer to the Configuration registers overlay structure of the Tcp2

CSL_InstNum VCP2Obj::perNum

Instance of TCP2 being referred by this object

CSL_Vcp2RegsOvly VCP2Obj::regs

Pointer to the register overlay structure of the Tcp2

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

- csl_vcp2.h

Copyright 2012, Texas Instruments Incorporated