PEController BSP v4
Board Support Package for PEController from Taraz Technologies
 
Loading...
Searching...
No Matches
Digital Input Output Port

Contains the declaration and procedures for the digital input/output pins. More...

Modules

 Type Definitions
 
 Functions
 

Detailed Description

This port can either be input only or output only at a given time. The port direction can be changed by the functions BSP_Dio_SetAsInputPort() and BSP_Dio_SetAsOutputPort().
List of functions

  1. BSP_Dio_SetAsIOPin() : Set the Dio pin as GPIO
  2. BSP_Dio_SetPinAlternateFunction() : Selects the Alternate Output Functionality. To configure as IO use BSP_Dio_SetAsIOPin()
  3. BSP_Dio_SetAsInputPort() : Set the IO Port as Input. Pin 9 is always output
  4. BSP_Dio_SetAsOutputPort() : Set the IO Port as Output. Pin 9 is always output
  5. BSP_Dio_SetPortValue() : Set the value of output port
  6. BSP_Dio_GetPortValue() : Gets the value of the input port