Contiki-NG
Loading...
Searching...
No Matches

Implementation of the cc2538 UART driver. More...

#include "contiki.h"
#include "dev/sys-ctrl.h"
#include "dev/ioc.h"
#include "dev/gpio.h"
#include "dev/uart.h"
#include "lpm.h"
#include "reg.h"
#include <stdbool.h>
#include <stdint.h>
#include <string.h>

Go to the source code of this file.

Functions

UART functions
void uart_init (uint8_t uart)
 Initialises the UART controller, configures I/O control and interrupts.
 
void uart_set_input (uint8_t uart, int(*input)(unsigned char c))
 Assigns a callback to be called when the UART receives a byte.
 
void uart_write_byte (uint8_t uart, uint8_t b)
 Sends a single character down the UART.
 

Detailed Description

Implementation of the cc2538 UART driver.

Definition in file uart.c.