Skip to main content
Cpatt.1
Associate II
Jul 7, 2020 6:10 PM UTC
Question

How to read full 16bits port in stm32...?

..

    This topic has been closed for replies.

    2 replies

    Piranha
    Principal III
    Jul 7, 2020 6:17 PM UTC

    Well... By reading the respective input or output register!

    Tesla DeLorean
    Guru
    Jul 7, 2020 6:19 PM UTC

    printf("%04X\n", GPIOD->IDR); // ??

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..