updated reference website link
[betaflight.git] / src / test / unit / timer_definition_unittest.include / mock_enums.h
blob782aefce1b49ce3e15f0de42c3fc31383d114aeb
1 #pragma once
3 enum TestTimerEnum {
4 TIM0, TIM1, TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9,
5 TIM10, TIM11, TIM12, TIM13, TIM14, TIM15, TIM16, TIM17, TIM18, TIM19, TIM20,
6 TEST_TIMER_SIZE,
7 };
9 enum TestChannelEnum {
10 CH0, CH1, CH2, CH3, CH4, CH5, CH6, CH7, CH9, CH10, CH1N, CH2N, CH3N,
11 TEST_CHANNEL_SIZE,
14 // Keep this in sync with TEST_PIN_NAMES below.
15 enum TestPinEnum {
16 PA0, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9,
17 PA10, PA11, PA12, PA13, PA14, PA15,
18 PB0, PB1, PB2, PB3, PB4, PB5, PB6, PB7, PB8, PB9,
19 PB10, PB11, PB12, PB13, PB14, PB15,
20 PC0, PC1, PC2, PC3, PC4, PC5, PC6, PC7, PC8, PC9,
21 PC10, PC11, PC12, PC13, PC14, PC15,
22 PD0, PD1, PD2, PD3, PD4, PD5, PD6, PD7, PD8, PD9,
23 PD10, PD11, PD12, PD13, PD14, PD15,
24 PE0, PE1, PE2, PE3, PE4, PE5, PE6, PE7, PE8, PE9,
25 PE10, PE11, PE12, PE13, PE14, PE15,
26 PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7, PF8, PF9,
27 PF10, PF11, PF12, PF13, PF14, PF15,
28 PG0, PG1, PG2, PG3, PG4, PG5, PG6, PG7, PG8, PG9,
29 PG10, PG11, PG12, PG13, PG14, PG15,
30 PH0, PH1, PH2, PH3, PH4, PH5, PH6, PH7, PH8, PH9,
31 PH10, PH11, PH12, PH13, PH14, PH15, TEST_PIN_SIZE,
34 // Keep this in sync with TestPinEnum above.
35 const char *const TEST_PIN_NAMES[TEST_PIN_SIZE] = {
36 "PA0", "PA1", "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", "PA9",
37 "PA10", "PA11", "PA12", "PA13", "PA14", "PA15",
38 "PB0", "PB1", "PB2", "PB3", "PB4", "PB5", "PB6", "PB7", "PB8", "PB9",
39 "PB10", "PB11", "PB12", "PB13", "PB14", "PB15",
40 "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9",
41 "PC10", "PC11", "PC12", "PC13", "PC14", "PC15",
42 "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD9",
43 "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
44 "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9",
45 "PE10", "PE11", "PE12", "PE13", "PE14", "PE15",
46 "PF0", "PF1", "PF2", "PF3", "PF4", "PF5", "PF6", "PF7", "PF8", "PF9",
47 "PF10", "PF11", "PF12", "PF13", "PF14", "PF15",
48 "PG0", "PG1", "PG2", "PG3", "PG4", "PG5", "PG6", "PG7", "PG8", "PG9",
49 "PG10", "PG11", "PG12", "PG13", "PG14", "PG15",
50 "PH0", "PH1", "PH2", "PH3", "PH4", "PH5", "PH6", "PH7", "PH8", "PH9",
51 "PH10", "PH11", "PH12", "PH13", "PH14", "PH15",
54 enum TestTimUseEnum {
55 TIM_USE_ANY,
56 TIM_USE_BEEPER,
57 TIM_USE_CAMERA_CONTROL,
58 TIM_USE_LED,
59 TIM_USE_MOTOR,
60 TIM_USE_NONE,
61 TIM_USE_PPM,
62 TIM_USE_PWM,
63 TIM_USE_SERVO,
64 TIM_USE_TRANSPONDER,
65 TEST_TIM_USE_SIZE,