Skip to main content
John Hite
Associate III
January 24, 2017
Solved

STM32F4 GPIO functions

  • January 24, 2017
  • 4 replies
  • 1053 views
Posted on January 24, 2017 at 15:09

I have looked at PM0214 Programming manual for STM32F4 series for functions like GPIO_Write() and GPIO_ToggleBits() but they don't seem to be there. Is there a document that describes peripheral functions or does one need to search through the header files to find what functions are available?

Thanks,

jh

    This topic has been closed for replies.
    Best answer by waclawek.jan
    Posted on January 24, 2017 at 22:37

    In the root of the 'library' you'll find a .chm

    It's a doxygen-autovomit, but while that makes it hardly usable as true documentation, it does mention all the functions for sure.

    JW

    4 replies

    waclawek.jan
    Super User
    January 24, 2017
    Posted on January 24, 2017 at 15:28

    but they don't seem to be there

    Where?

    [EDIT]

    Oh, now I see, in PM0214, sorry.

    PM0214 is an abridged and slightly ST-customized version of the ARM's Cortex-M4 reference manual, thus describe the processor core, its working and the machine instructions together with their mnemonics and behaviour.

    The functions you mentioned are in some of the ST's 'libraries' thus are not generically ARM-related, and are related to the peripherals and not to the core.

    You should seek a list of functions a 'library' possesses/publishes in the manual to that 'library'.

    JW

    John Hite
    John HiteAuthor
    Associate III
    January 24, 2017
    Posted on January 24, 2017 at 22:23

    The only documentation I could find for the standard pereipheral library was STSW-STM32065 and it is only 1 page.

    jh

    waclawek.jan
    waclawek.janBest answer
    Super User
    January 24, 2017
    Posted on January 24, 2017 at 22:37

    In the root of the 'library' you'll find a .chm

    It's a doxygen-autovomit, but while that makes it hardly usable as true documentation, it does mention all the functions for sure.

    JW