Frage zum Besipiel ''GPIO Soft Reset Sample''

Das Beispiel funktioniert nicht, obwohl ich es einfach nur kompiliert und dann via Debugger in den Controller geladen habe.
das eigentlich Problem das ich habe ist eine vernünftige Ansteuerung der GPIO.

narm_write_reg (NARM_PORTX_REG, RESET_REGADDR, mode, narm_read_reg (NARM_PORTX_REG, RESET_REGADDR, mode) & turn_off_value);
narm_write_reg (NARM_PORTX_REG, RESET_REGADDR, dir, narm_read_reg (NARM_PORTX_REG, RESET_REGADDR, dir) & turn_off_value);
narm_write_reg (NARM_PORTX_REG, RESET_REGADDR, reserved, narm_read_reg (NARM_PORTX_REG, RESET_REGADDR, reserved) & turn_off_value);

Ich würde gerne mal wissen was in diesen Zeilen passiert und wie ich die Ports auch als Ausgänge konfigurieren kann.

Message was edited by: AlterEgo

Can you ask the question in english? What NET+OS version are you using?

It’s not as simple as that!
I use NET+OS 7.1.
The Problem is, the example doesn’t work.
But, i have the answer. SW1 on Jump Start Development Board was set wrong.