Skip to main content
dave4
Associate II
January 27, 2009
Question

unable to set bit

  • January 27, 2009
  • 12 replies
  • 1730 views
Posted on January 27, 2009 at 06:22

unable to set bit

    This topic has been closed for replies.

    12 replies

    domen2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:00

    Maybe you are missing some defines in stm32f10x_conf.h ?

    Like:

    #define _GPIOB

    #define _DMA_Channel1

    dave4
    dave4Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:00

    SOLVED

    I did some moving of code blocks around, and discovered that if I moved my union statement directly after the typedefs, then this error went away. I can't explain why, but it does work, so thanks all.

    Dave :)