COS_ENABLE_FALLING
const unsigned int falling = COS_ENABLE_FALLING << offset;
#define COS_ENABLE_BOTH (COS_ENABLE_RISING | COS_ENABLE_FALLING)