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.

CCS/RM48L952: CCS/RM48L952: Changing Open Drain Register during runtime

Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello,

I want to use a simple N2HET pin as a simple GPIO. Therfore, I am configuring the specified pin within the hetInit() as an output with the open-drain feature activated. This is something what is working according to the internal register of the N2HET module after the hetInit() has been called.

But when I want to just reconfigure this specific pin, I would actually only target the open-drain register (hetBase->PDR) and deactivate it because the context of application has decided to use this pin as simple GPIO output without the open drain capability.

After changing the open drain state of that specified pin by calling my own api, there is no change within the internal register of the N2HET module.

How can I change the mode of the pin dynamically.

The provided API from Halcogen doesn't help as it just defines the direction of the pinport as well as several setter and getter functions.