Prusa MINI Firmware overview
|
#include <serial.h>
Public Member Functions | |
HalSerial () | |
void | begin (int32_t) |
void | end () |
int | peek () |
int | read () |
size_t | write (char c) |
operator bool () | |
uint16_t | available () |
void | flush () |
uint8_t | availableForWrite () |
void | flushTX () |
void | printf (const char *format,...) |
void | print_bin (uint32_t value, uint8_t num_digits) |
void | print (const char value[]) |
void | print (char value, int nbase=0) |
void | print (unsigned char value, int nbase=0) |
void | print (int value, int nbase=0) |
void | print (unsigned int value, int nbase=0) |
void | print (long value, int nbase=0) |
void | print (unsigned long value, int nbase=0) |
void | print (float value, int round=6) |
void | print (double value, int round=6) |
void | println (const char value[]) |
void | println (char value, int nbase=0) |
void | println (unsigned char value, int nbase=0) |
void | println (int value, int nbase=0) |
void | println (unsigned int value, int nbase=0) |
void | println (long value, int nbase=0) |
void | println (unsigned long value, int nbase=0) |
void | println (float value, int round=6) |
void | println (double value, int round=6) |
void | println () |
Public Attributes | |
volatile RingBuffer< uint8_t, 128 > | receive_buffer |
volatile RingBuffer< uint8_t, 128 > | transmit_buffer |
volatile bool | host_connected |
HalSerial::HalSerial | ( | ) |
void HalSerial::begin | ( | int32_t | ) |
int HalSerial::peek | ( | void | ) |
int HalSerial::read | ( | void | ) |
size_t HalSerial::write | ( | char | c | ) |
HalSerial::operator bool | ( | ) |
uint16_t HalSerial::available | ( | void | ) |
void HalSerial::flushTX | ( | ) |
void HalSerial::print | ( | char | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | unsigned char | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | int | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | unsigned int | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | long | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | unsigned long | value, |
int | nbase = 0 |
||
) |
void HalSerial::print | ( | float | value, |
int | round = 6 |
||
) |
void HalSerial::print | ( | double | value, |
int | round = 6 |
||
) |
void HalSerial::println | ( | char | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | unsigned char | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | int | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | unsigned int | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | long | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | unsigned long | value, |
int | nbase = 0 |
||
) |
void HalSerial::println | ( | float | value, |
int | round = 6 |
||
) |
void HalSerial::println | ( | double | value, |
int | round = 6 |
||
) |
volatile RingBuffer<uint8_t, 128> HalSerial::receive_buffer |
volatile RingBuffer<uint8_t, 128> HalSerial::transmit_buffer |
volatile bool HalSerial::host_connected |