How agaelema/embedded_printf works
Embedded_Printf is a small C library for formatting and converting values on microcontrollers, with serial output as its primary user-to-result path: callers use the printf-like or simple print APIs, numeric values are converted to text, and bytes are sent through a device-configured UART. It also exposes string-to-number conversion and terminal line movement. The main source files and UART configuration are excerpted; the example applications are visible only in the tree, so their runtime connections are omitted.
Main entry points: embedded_printf.c Formatted print · serial_conf.h UART interface · serial_conf.c UART configuration
Components 12
Formatting and conversion
- Formatted print
embedded_printf.c - Simple print APIs
embedded_printf.c - String formatting
embedded_printf.c - Integer conversion
embedded_printf.c - Float conversion
embedded_printf.c - String parsing
embedded_printf.c
Serial output
- Terminal line control
embedded_printf.c - Character output
embedded_printf.c - UART interface
serial_conf.h - UART configuration
serial_conf.c - MSP430 UART
Other components
- Library caller
Connections 15
- Library caller → Formatted print: calls
README.md - Library caller → Simple print APIs: calls
README.md - Library caller → String parsing: calls
README.md - Formatted print → String formatting: formats strings
embedded_printf.c - Formatted print → Integer conversion: converts integers
embedded_printf.c - Formatted print → Float conversion: converts floats
embedded_printf.c - Formatted print → Character output: emits characters
embedded_printf.c - Simple print APIs → Integer conversion: converts numbers
embedded_printf.c - Simple print APIs → Float conversion: converts floats
embedded_printf.c - Simple print APIs → String formatting: prints strings
embedded_printf.c - String formatting → Character output: emits characters
embedded_printf.c - Terminal line control → Character output: emits escapes
embedded_printf.c - Character output → UART interface: sends bytes
embedded_printf.c - UART configuration → MSP430 UART: configures UART
serial_conf.c - UART interface → MSP430 UART: transmits bytes