PEController BSP v4
Board Support Package for PEController from Taraz Technologies
 
Loading...
Searching...
No Matches

Functions

const digital_pin_tBSP_Dout_SetAsIOPin (uint32_t pinNo, GPIO_PinState state)
 Set the Dout pin as GPIO.
 
const digital_pin_tBSP_Dout_SetAsPWMPin (uint32_t pinNo)
 Set the Dout pin as PWM.
 
const digital_pin_tBSP_Dout_SetPinAlternateFunction (uint32_t pinNo, uint32_t AlternateFunction)
 Selects the Alternate Output Functionality. To configure as IO use Dout_SetAsIOPin(pinNo)
 
void BSP_Dout_SetPortAsGPIO (void)
 Set the whole port as GPIO.
 
void BSP_Dout_SetPortValue (uint32_t val)
 Set the value of output port, sets all GPIO ports at output.
 
void BSP_Dout_TogglePin (int pinNo)
 Toggles the selected pin.
 
void BSP_Dout_SetPin (int pinNo)
 Set the desired pin value to 1 for DOUT port.
 
void BSP_Dout_ClearPin (int pinNo)
 Set the desired pin value to 0 for DOUT port.
 

Detailed Description

Function Documentation

◆ BSP_Dout_ClearPin()

void BSP_Dout_ClearPin ( int  pinNo)
extern
Parameters
pinNoDout Pin No (Range 1-16)

◆ BSP_Dout_SetAsIOPin()

const digital_pin_t * BSP_Dout_SetAsIOPin ( uint32_t  pinNo,
GPIO_PinState  state 
)
extern
Parameters
pinNoDout Pin No ( Range 1 - 16)
stateState of the pin
Returns
*pin Pointer to the Dout pin structure

◆ BSP_Dout_SetAsPWMPin()

const digital_pin_t * BSP_Dout_SetAsPWMPin ( uint32_t  pinNo)
extern
Parameters
pinNoDout Pin No ( Range 1 - 16)
Returns
*pin Pointer to the Dout pin structure

◆ BSP_Dout_SetPin()

void BSP_Dout_SetPin ( int  pinNo)
extern
Parameters
pinNoDout Pin No (Range 1-16)

◆ BSP_Dout_SetPinAlternateFunction()

const digital_pin_t * BSP_Dout_SetPinAlternateFunction ( uint32_t  pinNo,
uint32_t  AlternateFunction 
)
extern
Parameters
pinNoDout pin No (Range 1-16)
AlternateFunctionAlternate Functionality to be used
Returns
*digital_pin_t pointer to the pin structure

◆ BSP_Dout_SetPortValue()

void BSP_Dout_SetPortValue ( uint32_t  val)
extern
Parameters
valvalue to be set

◆ BSP_Dout_TogglePin()

void BSP_Dout_TogglePin ( int  pinNo)
extern
Parameters
pinNoDout Pin No (Range 1-16)