PebbleOS v4.45.0-50-g17e860a43
Loading...
Searching...
No Matches
console.h File Reference
#include <stddef.h>

Functions

void pbl_console_enable_prompt (void)
 Start taking input, once the system can handle commands.
 
void pbl_console_lock (void)
 Hold other users of the port back, recursively.
 
void pbl_console_unlock (void)
 
void pbl_console_putchar (char c)
 Write a character to the port without waiting for it to go out, without taking the lock.
 
void pbl_console_flush (void)
 Wait for what was written to go out.
 
void pbl_console_write_raw (const char *data, size_t len)
 Write to the port without taking the lock, for use in fault handlers and between pbl_console_log_begin() and pbl_console_log_end().
 
void pbl_console_write (const char *data, size_t len)
 Write to the port under the lock.
 
void pbl_console_log_begin (void)
 Start a log line, moving the shell's input line out of the way.
 
void pbl_console_log_end (void)
 End a log line, bringing the shell's input line back.
 
void pbl_console_set_rx_enabled (bool enabled)