在线时间793 小时
UID121704
注册时间2009-4-13
NXP金币54
TA的每日心情 | 慵懒 2021-12-23 09:57 |
---|
签到天数: 1587 天 连续签到: 1 天 [LV.Master]伴坛终老
金牌会员
 
- 积分
- 8419
- 最后登录
- 2025-9-1
|
BUG report, S32DS_ARM_v1.3 里 KEA 驱动 GPIO.h 中有错误。请内部提交修正。
相对路径:\Freescale\S32DS_ARM_v1.3\S32DS\S32_SDK_KEA_1_0_0\headers\gpio.h
Line 122~138 之间的 PCOR 和 PSOR 使用错误。
/***********************************************************
*
* Output set macro
*
**********************************************************/
#define OUTPUT_SET(port,port_pin) XOUTPUT_SET(port,port_pin)
#define XOUTPUT_SET(port,port_pin) port->PCOR |=(1<<port_pin) // 应该为 PSOR
/***********************************************************
*
* Output clear macro
*
**********************************************************/
#define OUTPUT_CLEAR(port,port_pin) XOUTPUT_CLEAR(port,port_pin)
#define XOUTPUT_CLEAR(port,port_pin) port->PSOR |=(1<<port_pin) // 应该为 PCOR
|
|