| BlueNRG-1 SDK drivers APIs

- Main Page
- Modules
- Classes
- Files

Functions
SDK EVAL Led Exported Functions
SDK EVAL BlueNRG1 » SDK EVAL Led

## Functions

void | SdkEvalLedInit (SdkEvalLed xLed)
| Configures LEDs. More...
void | SdkEvalLedOn (SdkEvalLed xLed)
| Turns selected LED On. More...
void | SdkEvalLedOff (SdkEvalLed xLed)
| Turns selected LED Off. More...
void | SdkEvalLedToggle (SdkEvalLed xLed)
| Toggles the selected LED. More...
FlagStatus | SdkEvalLedGetState (SdkEvalLed xLed)
| Returns the status of a specified led. More...

## Detailed Description

## Function Documentation

FlagStatus SdkEvalLedGetState | ( | SdkEvalLed | xLed | ) |

Returns the status of a specified led.

Parameters

  xLed | Specifies the Led to be read SdkEvalLed. This parameter can be one of following parameters:
  - LED1
  - LED2
  - LED3

Return values

  FlagStatus | status of the LED FlagStatus This parameter can be: SET or RESET.

Definition at line 201 of file SDK_EVAL_Led.c.

void SdkEvalLedInit | ( | SdkEvalLed | xLed | ) |

Configures LEDs.

Parameters

  xLed | Specifies the Led to be configured SdkEvalLed. This parameter can be one of following parameters:
  - LED1
  - LED2
  - LED3

Return values

  None. |

Definition at line 131 of file SDK_EVAL_Led.c.

void SdkEvalLedOff | ( | SdkEvalLed | xLed | ) |

Turns selected LED Off.

Parameters

  xLed | Specifies the Led to be set off SdkEvalLed. This parameter can be one of following parameters:
  - LED1
  - LED2
  - LED3

Return values

  None. |

Definition at line 172 of file SDK_EVAL_Led.c.

void SdkEvalLedOn | ( | SdkEvalLed | xLed | ) |

Turns selected LED On.

Parameters

  xLed | Specifies the Led to be set on SdkEvalLed. This parameter can be one of following parameters:
  - LED1
  - LED2
  - LED3

Return values

  None. |

Definition at line 158 of file SDK_EVAL_Led.c.

void SdkEvalLedToggle | ( | SdkEvalLed | xLed | ) |

Toggles the selected LED.

Parameters

  xLed | Specifies the Led to be toggled SdkEvalLed.SdkEvalLed. This parameter can be one of following parameters:
  - LED1
  - LED2
  - LED3

Return values

  None. |

Definition at line 186 of file SDK_EVAL_Led.c.