41 #if defined(NIBO_USE_FLOOR) || defined (DOXYGEN)
52 #define floor_enable_ir() set_output_bit(IO_LINE_FLOOR_EN)
57 #define floor_disable_ir() clear_output_bit(IO_LINE_FLOOR_EN)
62 #define FLOOR_SENS_DALAY_US 15
71 #define floor_l floor_relative[FLOOR_LEFT]
72 #define floor_r floor_relative[FLOOR_RIGHT]
73 #define line_l floor_relative[LINE_LEFT]
74 #define line_r floor_relative[LINE_RIGHT]
104 uint16_t floor_getRaw0(uint8_t idx);
106 uint16_t floor_getRaw1(uint8_t idx);
108 uint16_t floor_getRawDiff(uint8_t idx);
150 #endif // NIBO_USE_FLOOR
151 #endif // NIBO_FLOOR_H_
void floor_calibrateBlackCh(uint8_t idx)
void floor_writePersistent()
void floor_calibrateWhite()
void floor_calibrateWhiteCh(uint8_t idx)
uint16_t floor_getAbs(uint8_t idx)
void floor_readPersistent()
uint16_t floor_absolute[4]
uint16_t floor_get(uint8_t idx)
void floor_calibrateBlack()
uint16_t floor_relative[4]