STM32 os_enable_interrupts and os_disable_interrupts

Configuring cocoOS

STM32 os_enable_interrupts and os_disable_interrupts

Postby DerekJ » Tue Dec 12, 2017 12:54 pm

I see for the PIC we define os_enable_interrupts() and os_disable_interrupts() the following way setting and disabling global interrupts.

#define os_enable_interrupts() GIE=1
#define os_disable_interrupts() GIE=0

Do you know how to or if we have to using a STM32? I configure a small project using the CubeMX tool and without doing anything with the interrupts appears to be working ok?

#define os_enable_interrupts() ?
#define os_disable_interrupts() ?

Thanks,

Derek
DerekJ
 
Posts: 1
Joined: Tue Dec 12, 2017 12:43 pm

Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest

cron