| BlueNRG-1 SDK drivers APIs

- Main Page
- Modules
- Classes
- Files

Functions
SDK EVAL Com Exported Functions
SDK EVAL BlueNRG1 » SDK EVAL Com

## Functions

void | SdkEvalComUartInit (uint32_t baudrate)
| Configures Uart port. More...
void | SdkEvalComUartIrqConfig (FunctionalState EnableIrq)
| Enable UART IRQ request. More...
void | SdkEvalComIOUartIrqHandler (void)
| Serial IRQ handler body to be put on user UART_IRQHandler() More...
void | SdkEvalComIOConfig (IO_RECEIVE_DATA_USER_CALLBACK_TYPE io_receive_function)
| Configure the selected I/O communciation channel. More...
void | SdkEvalComIOSendData (uint8_t read_data)
| Send a byte on selected I/O port. More...
void | SdkEvalComIOReceiveData (uint8_t *rx_data, uint16_t data_size)
| Receive data on selected I/O port. More...
void | SdkEvalComIOProcessInputData (uint8_t *rx_data, uint16_t data_size)
| Push a buffer in the read buffer. More...

## Detailed Description

## Function Documentation

void SdkEvalComIOConfig | ( | IO_RECEIVE_DATA_USER_CALLBACK_TYPE | io_receive_function | ) |

Configure the selected I/O communciation channel.

Parameters

  io_receive_function | user callback

Return values

  None |

Definition at line 235 of file SDK_EVAL_Com.c.

void SdkEvalComIOProcessInputData | ( | uint8_t * | rx_data,
|  | uint16_t | data_size
| ) |  |

Push a buffer in the read buffer.

Parameters

  rx_data | data to be pushed
  data_size | number of byte to read

Return values

  None |

Definition at line 313 of file SDK_EVAL_Com.c.

void SdkEvalComIOReceiveData | ( | uint8_t * | rx_data,
|  | uint16_t | data_size
| ) |  |

Receive data on selected I/O port.

Parameters

  rx_data | pointer to buffer of received
  data_size | number of received data

Return values

  None |

Definition at line 260 of file SDK_EVAL_Com.c.

void SdkEvalComIOSendData | ( | uint8_t | tx_data | ) |

Send a byte on selected I/O port.

Parameters

  tx_data | byte to be sent

Return values

  None |

Definition at line 249 of file SDK_EVAL_Com.c.

void SdkEvalComIOUartIrqHandler | ( | void |  | ) |

Serial IRQ handler body to be put on user UART_IRQHandler()

Parameters

  None |

Return values

  None |

Definition at line 209 of file SDK_EVAL_Com.c.

void SdkEvalComUartInit | ( | uint32_t | baudrate | ) |

Configures Uart port.

Parameters

  baudrate | UART baudrate

Return values

  None |

Definition at line 137 of file SDK_EVAL_Com.c.

void SdkEvalComUartIrqConfig | ( | FunctionalState | EnableIrq | ) |

Enable UART IRQ request.

Parameters

  EnableIrq | functional state FunctionalState This parameter can be: ENABLE or DISABLE.

Return values

  None |

Definition at line 187 of file SDK_EVAL_Com.c.