Prusa MINI Firmware overview
|
Macros | |
#define | DIGIT(n) ('0' + (n)) |
#define | DIGIMOD(n, f) DIGIT((n)/(f) % 10) |
#define | RJDIGIT(n, f) ((n) >= (f) ? DIGIMOD(n, f) : ' ') |
#define | MINUSOR(n, alt) (n >= 0 ? (alt) : (n = -n, '-')) |
Functions | |
const char * | ui8tostr4pct (const uint8_t i) |
const char * | ui8tostr3 (const uint8_t i) |
const char * | i8tostr3 (const int8_t x) |
const char * | permyriadtostr4 (const uint16_t xx) |
const char * | ui16tostr5 (const uint16_t xx) |
const char * | ui16tostr4 (const uint16_t xx) |
const char * | ui16tostr3 (const uint16_t xx) |
const char * | i16tostr3 (const int16_t x) |
const char * | i16tostr3left (const int16_t i) |
const char * | i16tostr4sign (const int16_t i) |
const char * | ftostr12ns (const float &f) |
const char * | ftostr42_52 (const float &f) |
const char * | ftostr52 (const float &f) |
const char * | ftostr41sign (const float &f) |
const char * | ftostr43sign (const float &f, char plus) |
const char * | ftostr54sign (const float &f, char plus) |
const char * | ftostr5rj (const float &f) |
const char * | ftostr51sign (const float &f) |
const char * | ftostr52sign (const float &f) |
const char * | ftostr51rj (const float &f) |
const char * | ftostr52sp (const float &f) |
Variables | |
char | conv [8] = { 0 } |
#define DIGIT | ( | n | ) | ('0' + (n)) |
#define DIGIMOD | ( | n, | |
f | |||
) | DIGIT((n)/(f) % 10) |
#define RJDIGIT | ( | n, | |
f | |||
) | ((n) >= (f) ? DIGIMOD(n, f) : ' ') |
#define MINUSOR | ( | n, | |
alt | |||
) | (n >= 0 ? (alt) : (n = -n, '-')) |
Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
char conv[8] = { 0 } |
Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.