cancel
Showing results for 
Search instead for 
Did you mean: 

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

marcus
Associate II
Posted on March 17, 2008 at 07:59

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

2 REPLIES 2
marcus
Associate II
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;

kleshov
Associate II
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.