Skip to main content
Visitor II
March 17, 2008
Question

STR71x Firmware Library V4.0 - 10/09/2007

  • March 17, 2008
  • 2 replies
  • 843 views
Posted on March 17, 2008 at 07:59

STR71x Firmware Library V4.0 - 10/09/2007

    This topic has been closed for replies.

    2 replies

    marcusAuthor
    Visitor II
    March 17, 2008
    Posted on March 17, 2008 at 04:40

    @IAR 4.40A

    This Library contains errors.

    1)From Version 3.1 to version 4.0 void GPIO_ByteWrite(...) was changed from

    GPIOx->PD = Port_Byte ? (GPIOx->PD&0x00FF) | ((u16)Port_Val<

    : (GPIOx->PD&0xFF00) | Port_Val;

    Visitor II
    March 17, 2008
    Posted on March 17, 2008 at 07:59

    Just a thought: is there a point in using such a library at all? The library is little more than simple wrappers around the MCU's registers. When programming the registers directly, one only has to worry about own bugs. When using the library, one has to worry about the bugs in the library too.