Firmware/PeugeotDisplay4245/PeugeotDisplay4245.cydsn/codegentemp/IData_Port.c
/**
    *
    * \brief Sets the drive mode for each of the Pins component's pins.
    * 
    * <b>Note</b> This affects all pins in the Pins component instance. Use the
    * Per-Pin APIs if you wish to control individual pin's drive modes.
    *
    * <b>Note</b> USBIOs have limited drive functionality. Refer to the Drive Mode
    * parameter for more information.
    *
    * \param mode
    *  Mode for the selected signals. Valid options are documented in 
    *  \ref driveMode.
    *
    * \return
    *  None
    *
    * \sideeffect
    *  If you use read-modify-write operations that are not atomic, the ISR can
    *  cause corruption of this function. An ISR that interrupts this function 
    *  and performs writes to the Pins component Drive Mode registers can cause 
    *  corrupted port data. To avoid this issue, you should either use the Per-Pin
    *  APIs (primary method) or disable interrupts around this function.
    *
    * \funcusage
    *  \snippet IData_Port_SUT.c usage_IData_Port_SetDriveMode
    *******************************************************************************/
\brief Sets the drive mode for each of the Pins component's pins.

Note This affects all pins in the Pins component instance. Use the
Per-Pin APIs if you wish to control individual pin's drive modes.

Note USBIOs have limited drive functionality. Refer to the Drive Mode
parameter for more information.

\param mode
Mode for the selected signals. Valid options are documented in
\ref driveMode.

\return
None

\sideeffect
If you use read-modify-write operations that are not atomic, the ISR can
cause corruption of this function. An ISR that interrupts this function
and performs writes to the Pins component Drive Mode registers can cause
corrupted port data. To avoid this issue, you should either use the Per-Pin
APIs (primary method) or disable interrupts around this function.


\ brief Sets the drive mode for each of the Pins component ' s pins . Note This affects all pins in the Pins component instance . Use the Per - Pin APIs if you wish to control individual pin ' s drive modes . Note USBIOs have limited drive functionality . Refer to the Drive Mode parameter for more information . \ param mode Mode for the selected signals . Valid options are documented in \ ref driveMode . \ return None \ sideeffect If you use read - modify - write operations that are not atomic the ISR can cause corruption of this function . An ISR that interrupts this function and performs writes to the Pins component Drive Mode registers can cause corrupted port data . To avoid this issue you should either use the Per - Pin APIs ( primary method ) or disable interrupts around this function .
void IData_Port_SetDriveMode(uint8 mode)
    {
		IData_Port_SetP4PinDriveMode(IData_Port__0__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__1__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__2__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__3__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__4__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__5__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__6__SHIFT, mode);
		IData_Port_SetP4PinDriveMode(IData_Port__7__SHIFT, mode);
    }
void IData_Port_SetDriveMode ( uint8 mode ) { IData_Port_SetP4PinDriveMode ( IData_Port__0__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__1__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__2__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__3__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__4__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__5__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__6__SHIFT , mode ) ; IData_Port_SetP4PinDriveMode ( IData_Port__7__SHIFT , mode ) ; }
\brief Sets the drive mode for each of the Pins component's pins.
\ brief Sets the drive mode for each of the Pins component ' s pins .