Oct 13, 2019
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 13, 2019
03:33 AM
Hi,
in my XMC4700 application i want to use hibernate pins as digital input and output.
Use "Hib_IO_0" as output works:
- XMC_SCU_HIB_SetPinMode(XMC_SCU_HIB_IO_0, XMC_SCU_HIB_PIN_MODE_OUTPUT_PUSH_PULL_HIBCTRL);
- XMC_SCU_HIB_SetPinOutputLevel(XMC_SCU_HIB_IO_0, XMC_SCU_HIB_IO_OUTPUT_LEVEL_HIGH);
but how can i use "Hib_IO_1" as input ?
Regards,
Hans
in my XMC4700 application i want to use hibernate pins as digital input and output.
Use "Hib_IO_0" as output works:
- XMC_SCU_HIB_SetPinMode(XMC_SCU_HIB_IO_0, XMC_SCU_HIB_PIN_MODE_OUTPUT_PUSH_PULL_HIBCTRL);
- XMC_SCU_HIB_SetPinOutputLevel(XMC_SCU_HIB_IO_0, XMC_SCU_HIB_IO_OUTPUT_LEVEL_HIGH);
but how can i use "Hib_IO_1" as input ?
Regards,
Hans
- Tags:
- IFX
3 Replies
Oct 14, 2019
12:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 14, 2019
12:10 AM
Oct 17, 2019
05:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2019
05:14 AM
Thank you for the answer,
using the ERU (EventRequestUnit) it is possible to read the input value of HIB_IO_1.
After each CHANGE of the input value the value of HIB_IO_1 is made available using the ERU.
That means that after a restart of the system, the input value of HIB_IO_1 is unknown.
Only when the input value changes the new value of HIB_IO_1 is available via the ERU.
Is there a way to read the level (not based on rising- or falling-edge events) of the input value?
Regards,
Hans
using the ERU (EventRequestUnit) it is possible to read the input value of HIB_IO_1.
After each CHANGE of the input value the value of HIB_IO_1 is made available using the ERU.
That means that after a restart of the system, the input value of HIB_IO_1 is unknown.
Only when the input value changes the new value of HIB_IO_1 is available via the ERU.
Is there a way to read the level (not based on rising- or falling-edge events) of the input value?
Regards,
Hans
Oct 24, 2019
09:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 24, 2019
09:28 AM
Hi,
Unfortunately I do not see a way to achieve that.
Regards,
Jesus
Unfortunately I do not see a way to achieve that.
Regards,
Jesus