Selecting Drive mode of I/O pins in PSoC Creator

Version 1
    Question: How do I select Drives modes for my I/O pins in PSoC Creator?

     

    Answer:

    The Drive mode for I/O pins is configured using port pin component (under Ports and Pins category) configuration window or port pin component API.

    Component Configuration: Drag a Pin component onto your design and double-click it to open the Configure dialog window. The General subtab allows you to specify the drive mode for the I/O pin.

     

     

     

      

    Component API: The drive mode for the port pin can also be set using the set drive mode API (_SetDriveMode()).  Refer to the port pin component datasheet for detailed information on API usage.

     

    For more details on various Drive modes, Please refer to the TRM of PSoC 3/5.