• Ready for review
  • GPIO_Set_Pin

    The function GPIO_Set_Pin sets the level of an gpio, when it is configured as output.

    void GPIO_Set_Pin( volatile GPIO_REGS *v_pGPIOReg, UCHAR pin, BOOL State );

    Parameters

    v_pGPIOReg
    Pointer to gpio-registers. Use the return value of GPIO_AllocSpace.

    pin
    GPIO pin-number.

    State
    Set level of pin.

    Return Values

    none

    Remarks

    Requirements

    OS Versions: Windows CE 4.2 and later.
    Header: drvlib_app.h
    Link Library: drvlib_app.lib

    See Also

    GPIO_AllocSpace, GPIO_FreeSpace, GPIO_Get_Pin, GPIO_Set_PWM