Macros | Functions

deprecated line sensor features More...

Macros

#define kLineNone
 deprecated bit mask: see kLineDigitalNone
 
#define kLineFrontLeft
 deprecated bit mask: see kLineDigitalFrontLeft
 
#define kLineFrontMiddle
 deprecated bit mask: see kLineDigitalFrontMiddle
 
#define kLineFrontRight
 deprecated bit mask: see kLineDigitalFrontRight
 
#define kLineMiddleLeft
 deprecated bit mask: see kLineDigitalMiddleLeft
 
#define kLineMiddleRight
 deprecated bit mask: see kLineDigitalMiddleRight
 
#define kLineAll
 deprecated bit mask: see kLineDigitalAll
 

Functions

uint8_t line_enable_get (void)
 Returns the last stored enable value of the line sensors. More...
 
uint8_t line_threshold_get (void)
 Returns the last stored threshold value of the line sensors. More...
 
uint8_t line_digital_get (uint8_t bitmask)
 Returns the last stored value of the masked digital evaluation of the line sensors. More...
 
void line_enable_set (uint8_t enable)
 Sets the enable value of the line sensors. More...
 
void line_threshold_set (uint8_t threshold)
 Sets the threshold value of the line sensors. More...
 

Detailed Description

deprecated line sensor features

Function Documentation

◆ line_digital_get()

uint8_t line_digital_get ( uint8_t  bitmask)

Returns the last stored value of the masked digital evaluation of the line sensors.

Function is deprecated!

Internal conversion:

uint8_t line_digital_get(uint8_t bitmask) {

    return line_get(kLineGetDigital) & bitmask;
}
See also
line_get()

◆ line_enable_get()

uint8_t line_enable_get ( void  )

Returns the last stored enable value of the line sensors.

Function is deprecated!

See also
line_get()

◆ line_enable_set()

void line_enable_set ( uint8_t  enable)

Sets the enable value of the line sensors.

Function is deprecated!

See also
line_set()

◆ line_threshold_get()

uint8_t line_threshold_get ( void  )

Returns the last stored threshold value of the line sensors.

Function is deprecated!

See also
line_get()

◆ line_threshold_set()

void line_threshold_set ( uint8_t  threshold)

Sets the threshold value of the line sensors.

Function is deprecated!

See also
line_set()