RobotCode/codegentemp/Counter.c
void Counter_SetPWMInvert(uint32 mask)
{
    uint8 enableInterrupts;

    enableInterrupts = CyEnterCriticalSection();

    Counter_CONTROL_REG &= (uint32)~Counter_INV_OUT_MASK;
    Counter_CONTROL_REG |= mask;

    CyExitCriticalSection(enableInterrupts);
}
/*******************************************************************************
* Function Name: Counter_SetPWMInvert
********************************************************************************
*
* Summary:
*  Writes the bits that control whether the line and line_n outputs are
*  inverted from their normal output values.  This functionality is only
*  applicable to the three PWM modes.
*
* Parameters:
*  mask: Mask of outputs to invert.
*   Values:
*         - Counter_INVERT_LINE   - Inverts the line output
*         - Counter_INVERT_LINE_N - Inverts the line_n output
*
* Return:
*  None
*
*******************************************************************************/
Function Name: Counter_SetPWMInvert
Summary:
Writes the bits that control whether the line and line_n outputs are
inverted from their normal output values.  This functionality is only
applicable to the three PWM modes.

Mask of outputs to invert.
Values:
Counter_INVERT_LINE   - Inverts the line output
Counter_INVERT_LINE_N - Inverts the line_n output

None
Function Name : Counter_SetPWMInvert Summary : Writes the bits that control whether the line and line_n outputs are inverted from their normal output values . This functionality is only applicable to the three PWM modes . Mask of outputs to invert . Values : Counter_INVERT_LINE - Inverts the line output Counter_INVERT_LINE_N - Inverts the line_n output None
void Counter_SetPWMInvert(uint32 mask)
{
    uint8 enableInterrupts;
    enableInterrupts = CyEnterCriticalSection();
    Counter_CONTROL_REG &= (uint32)~Counter_INV_OUT_MASK;
    Counter_CONTROL_REG |= mask;
    CyExitCriticalSection(enableInterrupts);
}
void Counter_SetPWMInvert ( uint32 mask ) { uint8 enableInterrupts ; enableInterrupts = CyEnterCriticalSection ( ) ; Counter_CONTROL_REG &= ( uint32 ) ~ Counter_INV_OUT_MASK ; Counter_CONTROL_REG |= mask ; CyExitCriticalSection ( enableInterrupts ) ; }
Function Name: Counter_SetPWMInvert
Summary:
Writes the bits that control whether the line and line_n outputs are
inverted from their normal output values.
Function Name : Counter_SetPWMInvert Summary : Writes the bits that control whether the line and line_n outputs are inverted from their normal output values .