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

Files

file  uarte-arch.c
 UARTE implementation for the nRF.
 
file  uarte-arch.h
 UARTE header file for the nRF.
 

Functions

void uarte_init (void)
 Initializa the UARTE driver.
 
void uarte_write (unsigned char data)
 Writes to the UARTE driver.
 
void uarte_set_input (int(*input)(unsigned char c))
 Sets the input handler called in the event handler.
 

Detailed Description

Function Documentation

◆ uarte_set_input()

void uarte_set_input ( int(*)(unsigned char c) input)

Sets the input handler called in the event handler.

Parameters
inputcharacter that has been read

Referenced by platform_init_stage_two().

◆ uarte_write()

void uarte_write ( unsigned char data)

Writes to the UARTE driver.

Parameters
datacharacter to be transfered
Precondition
uarte_init must have been called