Example of UART-DMA transfers taken form the npx cmsis driver libary

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

PINSEL Public Functions

PINSEL Public Functions
[PINSEL]

Functions

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

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.