Functions which handle the bumper sensors. More...
Modules | |
| Advanced informations | |
Enumerations | |
| enum | eBumperMask | 
| clusters bit masks for reading the bumpers  More... | |
Request Funktions | |
| void | bumpers_request (eRequestType request) | 
| Requests new data from the bumpers.  More... | |
| uint8_t | bumpers_received (void) | 
| Indicates if new data for the data block sMD_Bumper was received.  More... | |
| uint8_t | bumpers_changed (void) | 
| Indicates if new data changed the data block sMD_Bumper.  More... | |
Access Funktions | |
| eBumperMask | bumpers_get (eBumperMask bitmask) | 
| Returns the last stored value of the masked bumpers.  More... | |
Functions which handle the bumper sensors.
example
| enum eBumperMask | 
clusters bit masks for reading the bumpers
This enum is used for masking the bumpers in bumpers_get() and for storing that functions' result as a bitfield.
| uint8_t bumpers_changed | ( | void | ) | 
Indicates if new data changed the data block sMD_Bumper.
The return value is boolean.
| eBumperMask bumpers_get | ( | eBumperMask | bitmask | ) | 
Returns the last stored value of the masked bumpers.
This function relies on the internal data block sMD_Bumper - for new data use bumpers_request().
| bitmask | bit mask of the selected bumpers - see also eBumperMask  The parameter is used to only return the state of the masked bumpers. All other states(bits) are set to 0.  | 
| uint8_t bumpers_received | ( | void | ) | 
Indicates if new data for the data block sMD_Bumper was received.
The return value is boolean.
| void bumpers_request | ( | eRequestType | request | ) | 
Requests new data from the bumpers.
For details on the request schema see The general request.
Involved data blocks are: 
sMD_Bumper
| request | See also eRequestType | 
 1.8.17