查看ESP32 RTC的源代码
←
ESP32 RTC
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
==== rtc_pads_funsel ==== Select the RTC function for this pad. <source lang=bash> 0x4008d400 <rtc_pads_funsel>: entry a1, 32 0x4008d403 <rtc_pads_funsel+3>: bbci a2, 0, 0x4008d424 <rtc_pads_funsel+36> 0x4008d406 <rtc_pads_funsel+6>: l32r a8, 0x4008c9b4 0x4008d409 <rtc_pads_funsel+9>: l32r a9, 0x4008bfac 0x4008d40c <rtc_pads_funsel+12>: memw 0x4008d40f <rtc_pads_funsel+15>: l32i a11, a8, 0 0x4008d412 <rtc_pads_funsel+18>: extui a10, a3, 0, 2 0x4008d415 <rtc_pads_funsel+21>: slli a10, a10, 22 0x4008d418 <rtc_pads_funsel+24>: and a9, a11, a9 0x4008d41b <rtc_pads_funsel+27>: or a9, a10, a9 0x4008d41e <rtc_pads_funsel+30>: memw 0x4008d421 <rtc_pads_funsel+33>: s32i a9, a8, 0 0x4008d424 <rtc_pads_funsel+36>: bbci a2, 1, 0x4008d445 <rtc_pads_funsel+69> 0x4008d427 <rtc_pads_funsel+39>: l32r a8, 0x4008c9b4 0x4008d42a <rtc_pads_funsel+42>: l32r a9, 0x4008d3f0 0x4008d42d <rtc_pads_funsel+45>: memw 0x4008d430 <rtc_pads_funsel+48>: l32i a11, a8, 0 0x4008d433 <rtc_pads_funsel+51>: extui a10, a3, 0, 2 0x4008d436 <rtc_pads_funsel+54>: slli a10, a10, 17 0x4008d439 <rtc_pads_funsel+57>: and a9, a11, a9 0x4008d43c <rtc_pads_funsel+60>: or a9, a10, a9 0x4008d43f <rtc_pads_funsel+63>: memw 0x4008d442 <rtc_pads_funsel+66>: s32i a9, a8, 0 0x4008d445 <rtc_pads_funsel+69>: bbci a2, 2, 0x4008d465 <rtc_pads_funsel+101> 0x4008d448 <rtc_pads_funsel+72>: l32r a8, 0x4008c9b4 0x4008d44b <rtc_pads_funsel+75>: l32r a9, 0x4008c274 0x4008d44e <rtc_pads_funsel+78>: memw 0x4008d451 <rtc_pads_funsel+81>: l32i.n a11, a8, 0 0x4008d453 <rtc_pads_funsel+83>: extui a10, a3, 0, 2 0x4008d456 <rtc_pads_funsel+86>: slli a10, a10, 12 0x4008d459 <rtc_pads_funsel+89>: and a9, a11, a9 0x4008d45c <rtc_pads_funsel+92>: or a9, a10, a9 0x4008d45f <rtc_pads_funsel+95>: memw 0x4008d462 <rtc_pads_funsel+98>: s32i a9, a8, 0 0x4008d465 <rtc_pads_funsel+101>: bbci a2, 3, 0x4008d485 <rtc_pads_funsel+133> 0x4008d468 <rtc_pads_funsel+104>: l32r a8, 0x4008c9b4 0x4008d46b <rtc_pads_funsel+107>: extui a10, a3, 0, 2 0x4008d46e <rtc_pads_funsel+110>: memw 0x4008d471 <rtc_pads_funsel+113>: l32i.n a11, a8, 0 0x4008d473 <rtc_pads_funsel+115>: movi a9, 0xfffffe7f 0x4008d476 <rtc_pads_funsel+118>: slli a10, a10, 7 0x4008d479 <rtc_pads_funsel+121>: and a9, a11, a9 0x4008d47c <rtc_pads_funsel+124>: or a9, a10, a9 0x4008d47f <rtc_pads_funsel+127>: memw 0x4008d482 <rtc_pads_funsel+130>: s32i a9, a8, 0 0x4008d485 <rtc_pads_funsel+133>: bbci a2, 4, 0x4008d4a5 <rtc_pads_funsel+165> 0x4008d488 <rtc_pads_funsel+136>: l32r a8, 0x4008c9c8 ...... ...... </source> <source lang=cpp> typedef enum { RTC_GPIO0 = BIT(0), RTC_GPIO1 = BIT(1), ...... ...... RTC_GPIO17 = BIT(17) } rtc_gpio_num_t; /* * sel == 0, select the function 0 of rtc * sel == 1, select the function 1 of rtc * sel == 2, select the function 2 of rtc * sel == 3, select the function 3 of rtc */ void rtc_pads_funsel(rtc_gpio_num_t rtc_gpio_num, uint8_t sel); </source> <br>
返回到
ESP32 RTC
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面