Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

User8734
Level 4
Level 4
Good day,

It shall be a silly question:

I want use IO003_TogglePort function from IO003_Example1, in different DAVE project.
How it can be done best way?

BR
K
0 Likes
2 Replies
User8734
Level 4
Level 4
Good day,

I add linked resources, and paths, compilation is done without errors,
but it is still not working...

696.attach 697.attach

BR
K
0 Likes
User8734
Level 4
Level 4
Adding initialization lines from parent project:

WR_REG(PORT3->IOCR8, PORT_IOCR_PC1_PO_Msk, PORT_IOCR_PC1_PO_Pos,0);
WR_REG(PORT3->IOCR8, PORT_IOCR_PC1_OE_Msk, PORT_IOCR_PC1_OE_Pos, PORT_IOCR_OE1);

just before call:

IO003_TogglePort(IO003_Handle0,1);

solve problem.
0 Likes