PandA-2024.02
top.c
Go to the documentation of this file.
2 
3 void my_ip(uint8_t command, uint32_t param1, uint32_t param2)
4 {
5  static module1_output_t module1_output;
6  static module2_output_t module2_output;
7 
8  switch(command)
9  {
10  case 0:
11  module1(param1, param2 >> 16, &module1_output);
12  break;
13  case 1:
14  module2(param1, &module2_output);
15  break;
16  case 2:
17  printer1(module1_output.output1, module1_output.output2, module1_output.output3, module1_output.output4);
18  break;
19  case 3:
20  printer2(module2_output.output1, module2_output.output2, module2_output.output3);
21  break;
22  default:
23  break;
24  }
25 }
uint64_t output2
Definition: module_lib.h:19
uint64_t output1
Definition: module_lib.h:18
void module2(uint32_t input1, module2_output_t *outputs)
Definition: module2.c:2
uint64_t output2
Definition: module_lib.h:8
uint16_t output3
Definition: module_lib.h:20
uint16_t output3
Definition: module_lib.h:9
uint32_t output4
Definition: module_lib.h:10
void printer1(uint64_t value1, uint64_t value2, uint16_t value3, uint32_t value4)
Definition: printer1.c:3
void module1(uint32_t input1, uint16_t input2, module1_output_t *outputs)
Definition: module1.c:2
list command
Definition: test_panda.py:921
TVMValue param1[3]
uint64_t output1
Definition: module_lib.h:7
void printer2(uint64_t value1, uint64_t value2, uint16_t value3)
Definition: printer2.c:3
void my_ip(uint8_t command, uint32_t param1, uint32_t param2)
Definition: top.c:3
TVMValue param2[2]

Generated on Mon Feb 12 2024 13:02:47 for PandA-2024.02 by doxygen 1.8.13