Contiki 3.x
|
Implementation of the cc2538 UART driver. More...
#include "contiki.h"
#include "sys/energest.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. More... | |
void | uart_set_input (uint8_t uart, int(*input)(unsigned char c)) |
Assigns a callback to be called when the UART receives a byte. More... | |
void | uart_write_byte (uint8_t uart, uint8_t b) |
Sends a single character down the UART. More... | |
Implementation of the cc2538 UART driver.
Definition in file uart.c.