BLE_API v2.1.3

Macros | Functions
BLE DTM Porting
BLE DTM

## Macros
#define | UART_BAURRATE 115200
#define | UART_POLL_CYCLE ((uint32_t)(10*1e6/(UART_BAURRATE)/2))

## Functions
void | setDTM_timerInt_enable (void)
void | setDTM_timer_init (void)

## Detailed Description

BLE DTM porting.

## Macro Definition Documentation

## ◆ UART_BAURRATE

#define UART_BAURRATE 115200

DTM UART Baud Rate definition.

## ◆ UART_POLL_CYCLE

#define UART_POLL_CYCLE ((uint32_t)(10*1e6/(UART_BAURRATE)/2))

The UART poll cycle in micro seconds.
A baud rate of e.g. 19200 bits / second, and 8 data bits, 1 start/stop bit, no flow control,
give the time to transmit a byte: 10 bits * 1/19200 = approx: 520 us.
To ensure no loss of bytes, the UART should be polled every 260 us.

## Function Documentation

## ◆ setDTM_timer_init()

void setDTM_timer_init | ( | void |  | ) |

DTM Timer Initialization Function.

## ◆ setDTM_timerInt_enable()

void setDTM_timerInt_enable | ( | void |  | ) |

DTM Timer Interrupt Enable Function.