Functions | |
| const digital_pin_t * | BSP_Dio_SetAsIOPin (uint32_t pinNo, GPIO_PinState state) |
| Set the Dio pin as GPIO. | |
| const digital_pin_t * | BSP_Dio_SetPinAlternateFunction (uint32_t pinNo, uint32_t AlternateFunction) |
| Selects the Alternate Output Functionality. To configure as IO use Dio_SetAsIOPin(pinNo, state) | |
| void | BSP_Dio_SetAsInputPort (void) |
| Set the IO Port as Input. Pin 9 is always output. | |
| void | BSP_Dio_SetAsOutputPort (void) |
| Set the IO Port as Output. Pin 9 is always output. | |
| void | BSP_Dio_SetPortValue (uint32_t val) |
| Set the value of output port. | |
| uint32_t | BSP_Dio_GetPortValue (void) |
| Gets the value of the input port. | |
|
extern |
|
extern |
| pinNo | Dio Pin No ( Range 1 - 8) |
| state | State of the pin |
|
extern |
|
extern |
| pinNo | Dio pin No (Range 1-16) |
| AlternateFunction | Alternate Functionality to be used |
|
extern |
| val- | value to be set |