Prusa MINI Firmware overview
|
#include <bresenham.h>
|
static FORCE_INLINE void | init (const uint8_t index, const T &inDivisor=1, const int8_t &inDir=1, const T &inDividend=1, const T &inValue=0) |
|
static FORCE_INLINE void | init (const T &inDivisor, const int8_t(&inDir)[Cfg::SIZE], const T(&inDividend)[Cfg::SIZE], const T(&inValue)[Cfg::SIZE]={0}) |
|
static FORCE_INLINE void | init (const T &inDivisor, const int8_t &inDir, const T(&inDividend)[Cfg::SIZE], const T(&inValue)[Cfg::SIZE]={0}) |
|
static FORCE_INLINE void | reinit (const uint8_t index, const int8_t &inDir=1, const T &inDividend=1, const T &inValue=0) |
|
static FORCE_INLINE void | prime (const uint8_t index) |
|
static FORCE_INLINE void | prime () |
|
static FORCE_INLINE void | back (const uint8_t index) |
|
static FORCE_INLINE bool | tick1 (const uint8_t index) |
|
static FORCE_INLINE void | tick (const uint8_t index) |
|
static FORCE_INLINE void | tick1 () _O3 |
|
static FORCE_INLINE void | tick () _O3 |
|
static void | report (const uint8_t index) |
|
static void | report () |
|
◆ Bresenham() [1/3]
template<typename T , typename Cfg >
51 for (
uint8_t i = 0;
i < Cfg::SIZE;
i++)
init(
i, inDivisor, inDir, inDividend, inValue);
◆ Bresenham() [2/3]
template<typename T , typename Cfg >
56 init(inDivisor, inDir, inDividend, inValue);
◆ Bresenham() [3/3]
template<typename T , typename Cfg >
61 init(inDivisor, inDir, inDividend, inValue);
◆ init() [1/3]
template<typename T , typename Cfg >
69 value[index] = inValue;
◆ init() [2/3]
template<typename T , typename Cfg >
◆ init() [3/3]
template<typename T , typename Cfg >
◆ reinit()
template<typename T , typename Cfg >
99 value[index] = inValue;
◆ prime() [1/2]
template<typename T , typename Cfg >
◆ prime() [2/2]
template<typename T , typename Cfg >
◆ back()
template<typename T , typename Cfg >
◆ tick1() [1/2]
template<typename T , typename Cfg >
◆ tick() [1/2]
template<typename T , typename Cfg >
◆ tick1() [2/2]
template<typename T , typename Cfg >
◆ tick() [2/2]
template<typename T , typename Cfg >
◆ report() [1/2]
template<typename T , typename Cfg >
122 if (index < Cfg::SIZE) {
◆ report() [2/2]
template<typename T , typename Cfg >
◆ divisor
template<typename T , typename Cfg >
◆ value
template<typename T , typename Cfg >
◆ dir
template<typename T , typename Cfg >
◆ dividend
template<typename T , typename Cfg >
◆ counter
template<typename T , typename Cfg >
#define SERIAL_CHAR(x)
Definition: serial.h:69
#define SERIAL_ECHO(x)
Definition: serial.h:70
#define SERIAL_ECHOPAIR(V...)
Definition: serial.h:114
static T dividend[Cfg::SIZE]
Definition: bresenham.h:43
uint8_t i
Definition: screen_test_graph.c:72
static T value[Cfg::SIZE]
Definition: bresenham.h:43
static T counter[Cfg::SIZE]
Definition: bresenham.h:43
static FORCE_INLINE void tick() _O3
Definition: bresenham.h:119
static FORCE_INLINE void tick1() _O3
Definition: bresenham.h:117
static T divisor
Definition: bresenham.h:43
static T dir[Cfg::SIZE]
Definition: bresenham.h:43
#define SERIAL_ECHOLNPAIR(V...)
Definition: serial.h:144
const uint8_t[]
Definition: 404_html.c:3
static void report()
Definition: bresenham.h:131
static FORCE_INLINE void back(const uint8_t index)
Definition: bresenham.h:106
static FORCE_INLINE void prime()
Definition: bresenham.h:104
static FORCE_INLINE void init(const uint8_t index, const T &inDivisor=1, const int8_t &inDir=1, const T &inDividend=1, const T &inValue=0)
Definition: bresenham.h:65