NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
serial_uart.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "build_config.h"
#include "common/utils.h"
#include "gpio.h"
#include "inverter.h"
#include "serial.h"
#include "serial_uart.h"
#include "serial_uart_impl.h"
Include dependency graph for serial_uart.c:

Functions

void uartStartTxDMA (uartPort_t *s)
 
serialPort_tuartOpen (uint8_t id, serialReceiveCallbackPtr callback, uint32_t baudRate, portMode_t mode, portOptions_t options)
 

Variables

const struct serial_port_ops uart_serial_ops
 

Function Documentation

serialPort_t* uartOpen ( uint8_t  id,
serialReceiveCallbackPtr  callback,
uint32_t  baudRate,
portMode_t  mode,
portOptions_t  options 
)
void uartStartTxDMA ( uartPort_t s)

Here is the call graph for this function:

Variable Documentation

const struct serial_port_ops uart_serial_ops
Initial value:
= {
uartWrite,
uartTotalRxBytesWaiting,
uartTotalTxBytesFree,
uartRead,
uartSetBaudRate,
isUartTransmitBufferEmpty,
uartSetMode,
.writeBuf = NULL,
.beginWrite = NULL,
.endWrite = NULL,
}