This is an old revision of the document!


General Purpose Output

  • The output buffer is enabled (open drain or push-pull).
  • The Schmitt trigger input is active.
  • The pull-up and -down resistors are active, according to PUPDR.
  • Input data is sampled every AHB clock.
  • Input data register holds I/O state.
  • Output data register holds last written value.







01Output mode (reset state)




00No pull-up, pull-down (reset state)
01Pull-up
10Pull-down




0Output type: push-pull (reset state)
1Output type: open-drain




00Speed: 2 MHz (reset state)
01Speed: 10 MHz
10Speed: 50 MHz
11Speed: 100 MHz







BSxSet pin x
BRxClear/reset pin x




  • stm32/peripherals/gpio_output.1456387895.txt.gz
  • Last modified: 2016/02/25 08:11
  • by feur