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 DirectSPI FastPWM
port_setting.txt@14:c87938f5ab01, 2019-02-17 (annotated)
- Committer:
- mimi3
- Date:
- Sun Feb 17 11:43:24 2019 +0900
- Revision:
- 14:c87938f5ab01
- Parent:
- 3:ee1947a6e0a4
typo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mimi3 | 3:ee1947a6e0a4 | 1 | ### Button SW PC13 |
mimi3 | 3:ee1947a6e0a4 | 2 | ### LED indicator PB10 |
mimi3 | 3:ee1947a6e0a4 | 3 | ### TEST PORT ### |
mimi3 | 3:ee1947a6e0a4 | 4 | #define TEST_PORT PA_8 # D7 |
mimi3 | 3:ee1947a6e0a4 | 5 | |
mimi3 | 14:c87938f5ab01 | 6 | ### USART2 ### |
mimi3 | 3:ee1947a6e0a4 | 7 | # PA2 ------> USART2_TX |
mimi3 | 3:ee1947a6e0a4 | 8 | # PA3 ------> USART2_RX |
mimi3 | 3:ee1947a6e0a4 | 9 | |
mimi3 | 3:ee1947a6e0a4 | 10 | ### PWM With TIM3 ### |
mimi3 | 3:ee1947a6e0a4 | 11 | // Use PWM3-1,PWM3-2 with TIM3 |
mimi3 | 3:ee1947a6e0a4 | 12 | #define PWM_PORT_LEFT_HI PB_5 // TIM3_CH2 |
mimi3 | 3:ee1947a6e0a4 | 13 | #define PWM_PORT_RIGHT_HI PB_4 // TIM3_CH1 |
mimi3 | 3:ee1947a6e0a4 | 14 | |
mimi3 | 3:ee1947a6e0a4 | 15 | // Use PWM3-3,PWM3-4 with TIM3 |
mimi3 | 3:ee1947a6e0a4 | 16 | #define PWM_PORT_LEFT_LOW PC_9 // TIM3_CH4 |
mimi3 | 3:ee1947a6e0a4 | 17 | #define PWM_PORT_RIGHT_LOW PC_8 // TIM3_CH3 |
mimi3 | 3:ee1947a6e0a4 | 18 | |
mimi3 | 3:ee1947a6e0a4 | 19 | ### SPI1 ### |
mimi3 | 3:ee1947a6e0a4 | 20 | # PB6(CS) chip select port |
mimi3 | 3:ee1947a6e0a4 | 21 | # PA5(SCK) |
mimi3 | 3:ee1947a6e0a4 | 22 | # PA6(MISO) |
mimi3 | 3:ee1947a6e0a4 | 23 | # PA7(MOSI) |