arduino / arduino/ArduinoCore-API

Prevent wakeup on ext int

未关闭
#145 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
306
派生
150
PR 合并指标
30 天内没有已合并 PR

描述

I know that it is possible to remove the explicitly set wakeup flag manually.
Anyway it would be better to not set it at all if not required.

Possibly:
`void attachInterrupt(pin_size_t pin, voidFuncPtr callback, PinStatus mode, bool wakeUp=true);`

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 Arduino core API 中的 attachInterrupt 入口点及其实现。跟踪外部中断的 wakeup 标志是如何设置的,并确定哪些平台会受到影响。当不需要时不启用 wakeup,同时现有中断行为在各个 core 之间仍保持兼容,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
api, embedded-iot
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。