# pcieDiagCtrlReg_s Struct Reference
[PCIE LLD Application Register Definitions]

Specification of the Diagnostic Control register. More...

`#include <pcie.h>`

## Data Fields

uint32_t | raw
uint8_t | invEcrc
| [rw] Force ECRC error
uint8_t | invLcrc
| [rw] Force LCRC error

## Detailed Description

Specification of the Diagnostic Control register.

## Field Documentation

uint8_t pcieDiagCtrlReg_s::invEcrc

[rw] Force ECRC error

Write 1 to force inversion of LSB of ECRC for the next one packet. It is self cleared when the ECRC error has been injected on one TLP.

Field size: 1 bit

uint8_t pcieDiagCtrlReg_s::invLcrc

[rw] Force LCRC error

Write 1 to force inversion of LSB of LCRC for the next one packet. It is self cleared when the LCRC error has been injected on one TLP.

Field size: 1 bit

uint32_t pcieDiagCtrlReg_s::raw

[ro] Raw image of register on read; actual value on write

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

- pcie.h

Copyright 2012, Texas Instruments Incorporated