Dear everyone,
I want to add new struct type called I2C_TypeDef to the
CMSDK_CM3.h
I followed the format, added right below the other CMSDK_TypeDef, but
strangely the Keil IDE cannot recognize my new type.
Here is what I added
/*------------------- I2C ----------------------------------------------*/
/** @addtogroup I2C
@{
*/
typedef struct
{
__IO uint32_t PRER; // <h> I2C Prescaler Register (R/W) </h>
↧