uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PINSEL Public Functions

Functions

void PINSEL_ConfigPin (PINSEL_CFG_Type *PinCfg)
 Configure Pin corresponding to specified parameters passed in the PinCfg. More...
 
void PINSEL_ConfigTraceFunc (FunctionalState NewState)
 Configure trace function. More...
 
void PINSEL_SetI2C0Pins (uint8_t i2cPinMode, FunctionalState filterSlewRateEnable)
 Setup I2C0 pins. More...
 

Detailed Description

Function Documentation

void PINSEL_ConfigPin ( PINSEL_CFG_Type PinCfg)

Configure Pin corresponding to specified parameters passed in the PinCfg.

Parameters
[in]PinCfgPointer to a PINSEL_CFG_Type structure that contains the configuration information for the specified pin.
Returns
None

Definition at line 290 of file lpc17xx_pinsel.c.

void PINSEL_ConfigTraceFunc ( FunctionalState  NewState)

Configure trace function.

Parameters
[in]NewStateState of the Trace function configuration, should be one of the following:
  • ENABLE : Enable Trace Function
  • DISABLE : Disable Trace Function
Returns
None

Definition at line 245 of file lpc17xx_pinsel.c.

void PINSEL_SetI2C0Pins ( uint8_t  i2cPinMode,
FunctionalState  filterSlewRateEnable 
)

Setup I2C0 pins.

Parameters
[in]i2cPinModeI2C pin mode, should be one of the following:
  • PINSEL_I2C_Normal_Mode : The standard drive mode
  • PINSEL_I2C_Fast_Mode : Fast Mode Plus drive mode
[in]filterSlewRateEnableshould be:
  • ENABLE: Enable filter and slew rate.
  • DISABLE: Disable filter and slew rate.
Returns
None

Definition at line 267 of file lpc17xx_pinsel.c.