This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
HALCoGen 04.07.00在函数 gioGetConfigValue 中的 gio.c 中存在错误:
其他 { /*SAFETYMCUSW 134 S MR:12.2. "LDRA 工具问题"*/ CONFIG_REG->CONFIG_INTDET = gioREG->INTDET; CONFIG_REG->CONFIG_POL = gioREG->POL; CONFIG_REG->CONFIG_INTENASET = gioREG->ENASET; CONFIG_REG->CONFIG_LVLSET = gioREG->LVLSET; CONFIG_REG->CONFIG_PORTDIR = gioPORTA->DIR; CONFIG_REG->CONFIG_PORTADP= gioPORTA->PDR; CONFIG_REG->CONFIG_PORTAPPSL = gioPORTA->PSL; CONFIG_REG->CONFIG_PORTAPULDIS = gioPORTA->PULDIS; /*SAFETYMCUSW 134 S MR:12.2. "LDRA 工具问题"*/ CONFIG_REG->CONFIG_PORTBDIR = gioPORTB->DIR; CONFIG_REG->CONFIG_PORTBPDR = gioPORTB->PDR; CONFIG_REG->CONFIG_PORTBPSL = gioPORTB->PULDIS; CONFIG_REG->CONFIG_PORTBPULDIS = gioPORTB->PSL; }
PULDIS 和 PSL 被切换。
此致。