Home
last modified time | relevance | path

Searched refs:C_MIN (Results 1 – 9 of 9) sorted by relevance

/third_party/boost/libs/safe_numerics/example/
Dmotor3.c102 if(c < C_MIN){ in isr_motor_step()
103 c = C_MIN; in isr_motor_step()
140 assert(c <= C0 && c >= C_MIN); in isr_motor_step()
DMotor.c21 #define C_MIN 2500 macro
83 if (c <= C_MIN) in isr_motor_step()
87 c = C_MIN; in isr_motor_step()
Dexample92.cpp31 #define C_MIN (2500 << 8) macro
34 static_assert(C_MIN > 0, "Smallest step must be greater than zero");
35 static_assert(C_MIN < C0, "Smallest step must be smaller than largest step");
Dexample93.cpp51 #define C_MIN literal(25 << 8) macro
58 C_MIN > make_safe_literal(0, pic16_promotion,trap_policy),
107 C_MIN,
Dmotor1.c76 if (c <= C_MIN) { // go to constant speed in isr_motor_step()
79 c = C_MIN; in isr_motor_step()
Dmotor2.c90 if (c <= C_MIN) { // go to constant speed in isr_motor_step()
93 c = C_MIN; in isr_motor_step()
Dmotor_test1.c32 #define C_MIN (2500 << 8) macro
Dmotor_test2.c34 #define C_MIN (2500*8) macro
Dmotor_test3.c42 #define C_MIN literal((1000 << 8)) macro