38 #include "dev/uart1.h"
41 #include PLATFORM_HEADER
47 # define _LLIO_STDIN ((int) stdin)
48 # define _LLIO_STDOUT ((int) stdout)
49 # define _LLIO_STDERR ((int) stderr)
50 # define _LLIO_ERROR (-1)
73 _write(
int handle,
const unsigned char *buffer,
size_t size)
77 if(handle != _LLIO_STDOUT && handle != _LLIO_STDERR) {
83 while((SC1_UARTSTAT & SC_UARTTXIDLE) != SC_UARTTXIDLE) {
89 if(SC1_MODE != SC1_MODE_UART) {
93 __io_putchar(*buffer++);
102 _read(
int handle,
unsigned char *buffer,
size_t size)
void __attribute__((interrupt))
This ISR handles most of the business interacting with the 1-wire bus.
Utility and convenience functions for STM32W108 microcontroller, common to both the full and minimal ...
Minimal Hal functions common across all microcontroller-specific files.