1858 views|5 replies

1643

Posts

0

Resources
The OP
 

Are the functions of the interrupt flag and interrupt pending flag repeated in the interrupt handling mechanism of the STM32 microcontroller? [Copy link]

邀请:@maychang   @chunyang   @damiaa   @freebsder   参与回复

In the interrupt handling mechanism of the STM32 microcontroller, are the functions of the interrupt flag bit and the interrupt pending flag bit repeated?

This post is from MCU

Latest reply

It is often used in multi-task scheduling to provide more flexibility for programming.   Details Published on 2021-8-7 00:06
 

2w

Posts

0

Resources
2
 

I haven't checked the datasheet, but I don't think it will be repeated. You can rest assured that the MCU hardware designers will not cause trouble for themselves.

This post is from MCU

Comments

Thanks.  Details Published on 2021-8-6 15:17
 
 

1643

Posts

0

Resources
3
 
maychang posted on 2021-8-6 14:52 I didn't check the datasheet, but I guess it won't be repeated. MCU hardware designers won't ask for trouble, so you can rest assured.

Thanks.

This post is from MCU
 
 
 

1w

Posts

142

Resources
4
 

The interrupt flag is a prerequisite for the generation of an interrupt, and the interrupt pending flag indicates that an interrupt is interrupted by a higher priority interrupt. This flag not only allows you to know this state, but also is a prerequisite for ensuring that the interrupt service routine with higher priority can return to the interrupted interrupt service routine after execution. Obviously, the two are completely different concepts, each with its own meaning and function.

This post is from MCU

Comments

Thank you very much. Does the interrupt pending flag have any meaning to programmers? It seems that programmers don't need this flag?  Details Published on 2021-8-6 20:33
 
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
 
 

1643

Posts

0

Resources
5
 
chunyang posted on 2021-8-6 18:55 The interrupt flag is a prerequisite for the interrupt to be generated, and the interrupt pending flag indicates that an interrupt is interrupted by a higher priority interrupt. With this flag, you can not only know this...

Thank you very much. Does the interrupt pending flag have any meaning to programmers? It seems that programmers don't need this flag?

This post is from MCU

Comments

It is often used in multi-task scheduling to provide more flexibility for programming.  Details Published on 2021-8-7 00:06
 
 
 

1w

Posts

142

Resources
6
 
Shenzhen Xiaohua published on 2021-8-6 20:33 Thank you very much. Does the interrupt suspend flag have any meaning to programmers? It seems that programmers don’t need this flag?

It is often used in multi-task scheduling to provide more flexibility for programming.

This post is from MCU
 
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list