Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-dev-f303 FastPWM3
hw_setup.h@50:f460323fc492, 2021-06-02 (annotated)
- Committer:
- shaorui
- Date:
- Wed Jun 02 00:56:21 2021 +0000
- Revision:
- 50:f460323fc492
- Parent:
- 20:bf9ea5125d52
test for torque_max
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| benkatz | 20:bf9ea5125d52 | 1 | #ifndef HW_SETUP_H |
| benkatz | 20:bf9ea5125d52 | 2 | #define HW_SETUP_H |
| benkatz | 20:bf9ea5125d52 | 3 | |
| benkatz | 20:bf9ea5125d52 | 4 | #include "mbed.h" |
| benkatz | 20:bf9ea5125d52 | 5 | #include "structs.h" |
| benkatz | 20:bf9ea5125d52 | 6 | |
| benkatz | 20:bf9ea5125d52 | 7 | void Init_PWM(GPIOStruct *gpio); |
| benkatz | 20:bf9ea5125d52 | 8 | void Init_ADC(void); |
| benkatz | 20:bf9ea5125d52 | 9 | void Init_DAC(void); |
| benkatz | 20:bf9ea5125d52 | 10 | void Init_All_HW(GPIOStruct *gpio); |
| benkatz | 20:bf9ea5125d52 | 11 | |
| benkatz | 20:bf9ea5125d52 | 12 | #endif |