Call this function to set a pin parameter.
Note: If the access isn't permitted this function returns an error code.
Prototype
XStatus XPm_PinCtrlSetParameter(const u32 pin, const enum XPmPinParam param, const u32 value);
Parameters
The following table lists the XPm_PinCtrlSetParameter
function arguments.
Type | Name | Description |
---|---|---|
const u32 | pin | Pin identifier |
const enum
XPmPinParam
|
param | Pin parameter identifier |
const u32 | value | Value of the pin parameter to set |