U.B.O.R
The [U]seless [B]ox [O]rganizing [R]obot. A FreeRTOS study project written in C which implements a multitasked control unit for a belt conveyor system with robotic sorting arms.
Enumerations | Functions
bcs.h File Reference
#include <stdint.h>
Include dependency graph for bcs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  belt_select { belt_left =0x110, belt_mid =0x120, belt_right =0x130 }
 The belt_select enum differenciates between the different belt tasks. The members point to the base address of the can endpoints. More...
 

Functions

int8_t bcs_grab (enum belt_select belt)
 Instructs the system that we want to grab a block from the bcs global. More...
 
void bcs_prepare_drop (enum belt_select belt)
 Prepares a block drop operation to a specific belt global. More...
 
void bcs_signal_dropped (enum belt_select belt)
 Signal that a block has been dropped on a belt global. More...
 
void bcs_signal_band_free (enum belt_select belt)
 Signal that a block has been removed from a belt and the belt is free again global. More...
 
void bcs_init ()
 Initializes the belt conveyer system and starts the belt tasks global. More...
 

Enumeration Type Documentation

◆ belt_select

The belt_select enum differenciates between the different belt tasks. The members point to the base address of the can endpoints.

Enumerator
belt_left 

the left belt

belt_mid 

the middle belt

belt_right 

the right belt

Definition at line 8 of file bcs.h.