查看ESP32 Smoke Detector的源代码
←
ESP32 Smoke Detector
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== 0x4008f5f4 == <source lang=bash> 0x4008f5f4: entry a1, 32 0x4008f5f7: l32r a8, 0x4008cb08 /* a8 = 0x3ff4848c, RTC_IO_XTAL_32K_PAD_REG */ 0x4008f5fa: l32r a9, 0x4008b7c4 /* a9 = 0x00060000, BIT[18:17] */ /* X32N_MUX_SEL, X32P_MUX_SEL, 1 is select the digital function */ 0x4008f5fd: memw 0x4008f600: l32i.n a10, a8, 0 0x4008f602: or a9, a10, a9 /* set the BIT[18:17] of XTAL_32K_PAD_REG */ 0x4008f605: memw 0x4008f608: s32i.n a9, a8, 0 0x4008f60a: memw 0x4008f60d: l32i.n a10, a8, 0 0x4008f60f: l32r a9, 0x4008f5f0 /* a9 = 0xe73fffff, BIT[28:27] BIT[23:22] */ 0x4008f612: and a9, a10, a9 /* clear the BIT[28:27] and BIT[23:23] */ 0x4008f615: memw 0x4008f618: s32i.n a9, a8, 0 /* disable the pull-up/pull-down of X32N and X32P */ 0x4008f61a: memw 0x4008f61d: l32i.n a10, a8, 0 0x4008f61f: l32r a9, 0x4008c0ec /* a9 = 0xffcfffff, BIT[21:20] */ 0x4008f622: and a9, a10, a9 0x4008f625: l32r a10, 0x4008ada0 /* a10 = 0x00100000, BIT[20] */ 0x4008f628: or a9, a9, a10 0x4008f62b: memw 0x4008f62e: s32i.n a9, a8, 0 0x4008f630: memw 0x4008f633: l32i.n a10, a8, 0 0x4008f635: movi.n a9, 24 /* a9 = 0x18 */ 0x4008f637: or a9, a10, a9 /* set BIT[4:3] of XTAL_32K_PAD_REG */ /* 32K XTAL resistor bias control */ 0x4008f63a: memw 0x4008f63d: s32i.n a9, a8, 0 0x4008f63f: memw 0x4008f642: l32i.n a10, a8, 0 0x4008f644: movi.n a9, -7 /* a9 = 0xffff fff9, BIT[2:1] */ 0x4008f646: and a9, a10, a9 /* clear BIT[2:1] */ /* 32K XTAL self-bias reference control */ 0x4008f649: memw 0x4008f64c: s32i.n a9, a8, 0 0x4008f64e: memw 0x4008f651: l32i.n a10, a8, 0 0x4008f653: l32r a9, 0x40088a9c /* a9 = 0x00080000, BIT[19] */ 0x4008f656: or a9, a10, a9 /* set BIT[19] */ /* Power up 32kHz crystal oscillator */ 0x4008f659: memw 0x4008f65c: s32i.n a9, a8, 0 0x4008f65e: retw.n 0x4008f660 <rtc_xtal_32k_ena>: entry a1, 32 0x4008f663 <rtc_xtal_32k_ena+3>: extui a2, a2, 0, 8 0x4008f666 <rtc_xtal_32k_ena+6>: beqz a2, 0x4008f670 <rtc_xtal_32k_ena+16> 0x4008f669 <rtc_xtal_32k_ena+9>: call8 0x4008f5f4 0x4008f66c <rtc_xtal_32k_ena+12>: retw.n 0x4008f66e 0x0000 0x4008f670 <rtc_xtal_32k_ena+16>: l32r a2, 0x4008cb08 /* a2 = 0x3ff4848c, RTC_IO_XTAL_32K_PAD_REG */ 0x4008f673 <rtc_xtal_32k_ena+19>: l32r a8, 0x4008cb04 /* a8 = 0xfff7ffff */ 0x4008f676 <rtc_xtal_32k_ena+22>: memw 0x4008f679 <rtc_xtal_32k_ena+25>: l32i.n a9, a2, 0 0x4008f67b <rtc_xtal_32k_ena+27>: and a8, a9, a8 /* clear BIT[19] of XTAL_32K_PAD_REG */ 0x4008f67e <rtc_xtal_32k_ena+30>: memw 0x4008f681 <rtc_xtal_32k_ena+33>: s32i.n a8, a2, 0 /* Power down 32kHz crystal oscillator */ 0x4008f683 <rtc_xtal_32k_ena+35>: retw.n </source> So: <source lang=c> void rtc_xtal_32k_ena(uint8_t enabled); </source> <br><br>
返回到
ESP32 Smoke Detector
。
个人工具
18.218.39.125
该IP地址的讨论
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面