![]() |
Contiki-NG
|
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_uninit (void) |
| Tear down the UARTE driver, releasing the peripheral. | |
| 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. | |
| void uarte_set_input | ( | int(*)(unsigned char c) | input | ) |
Sets the input handler called in the event handler.
| input | character that has been read |
Referenced by platform_init_stage_two().
| void uarte_uninit | ( | void | ) |
Tear down the UARTE driver, releasing the peripheral.
Used during TrustZone handoff so the secure world can release UART ownership before the SPU re-targets the peripheral to the normal world.
| void uarte_write | ( | unsigned char | data | ) |
Writes to the UARTE driver.
| data | character to be transfered |