Contiki-NG
Files | Functions

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. More...
 
void uarte_write (unsigned char data)
 Writes to the UARTE driver. More...
 
void uarte_set_input (int(*input)(unsigned char c))
 Sets the input handler called in the event handler. More...
 

Detailed Description

Function Documentation

◆ uarte_init()

void uarte_init ( void  )

Initializa the UARTE driver.

Referenced by platform_init_stage_two().

◆ 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

◆ 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