查看SX126x的源代码
←
SX126x
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== IRQ === * set_dio_irq_params() ** opc = 0x08, irq_mask[15:8], irq_mask[7:0], dio1_mask[15:8], dio1_mask[7:0], dio2_mask[15:8], dio2_mask[7:0], dio3_mask[15:8], dio3_mask[7:0] ** irq_mask: By default, all IRQ are masked (all ‘0’) and the user can enable them one by one (or several at a time) by setting the corresponding mask to ‘1’ ** dioX_mask: The interrupt causes a DIO to be set if the corresponding bit in dioX_mask and the irq_mask are set. ** If DIO2 or DIO3 are used to control the RF Switch or the TCXO, the IRQ will not be generated even if it is mapped to the pins ** '''mask[7:0]''': CadDone, CrcErr, HeaderCrcErr, HeaderValid, SyncwordValid (FSK), PreambleDetected, RxDone, TxDone ** '''mask[9:8]''': Timeout (Rx or Tx), CadDetected * get_irq_status() ** opc = 0x12, NOP, NOP, NOP ** return: RFU, status, irq_status[15:8], irq_status[7:0] * clear_irq_status() ** opc = 0x02, param[15:8], param[7:0] ** Clears an IRQ flag in the IRQ register by setting to 1 the bit of Param corresponding to the same position. <br>
返回到
SX126x
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面