Skip to content

Commit fb2b813

Browse files
committed
README: fix TIM2 (33Hz), IWDG (1.6s/16), EXTI (PA8), ADC (CH17) to match code
1 parent 976d5e4 commit fb2b813

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ Arguments can be combined: `bash create_stm32f1_project opt mdk vsc`
8282
| **USART1** | TX (PA9) / RX (PA10), 115200 baud |
8383
| **SPI1** | SCK (PA5) / MISO (PA6) / MOSI (PA7), full-duplex master |
8484
| **I2C1** | SCL (PB6) / SDA (PB7), 100 kHz standard mode |
85-
| **ADC1** | CH0 (PA0), continuous scan |
85+
| **ADC1** | Internal channels (Vrefint on CH17, continuous scan) |
8686
| **DMA1** | CH2 (TIM2 UP) circular, CH4 (USART1 TX) normal |
87-
| **TIM2** | 100 Hz update, DMA-triggered BSRR for LED breathing |
87+
| **TIM2** | ~33 Hz update, DMA-triggered BSRR for LED breathing |
8888
| **RTC** | LSE or LSI, second counter |
89-
| **IWDG** | ~4 s timeout (LSI 40 kHz / 256 prescaler) |
89+
| **IWDG** | ~1.6 s timeout (LSI 40 kHz / 16 prescaler) |
9090
| **WWDG** | Window watchdog, early-wakeup interrupt, ~65 ms window at 72 MHz (PCLK/4096), disabled by default |
91-
| **EXTI** | PA0 falling edge |
91+
| **EXTI** | PA8 falling edge (external interrupt) |
9292
| **CRC** | Default polynomial |
9393
| **FLASH** | 2 wait states (72 MHz), prefetch enabled |
9494
| **SWD** | PA13/PA14 preserved |

0 commit comments

Comments
 (0)