This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | write_throttle (int) |
Variables | |
| int | current_throttle |
|
|
Definition at line 49 of file throttle.c. References current_throttle. Referenced by main(). 00049 {
00050 if (percent_throttle>100) {
00051 percent_throttle=100;
00052 }
00053 else if (percent_throttle < 0) {
00054 percent_throttle=0;
00055 }
00056 DAC12_0DAT=(percent_throttle<<4)+820; // 820 is the 12 bit offset for 1V. Max throttle gives 3V.
00057 current_throttle=percent_throttle;
00058 return (0);
00059 }
|
|
|
Definition at line 47 of file throttle.c. Referenced by write_throttle(). |
1.3.9.1