]> granicus.if.org Git - esp-idf/commit
driver: Add PCNT code
authorWangjialin <wangjialin@espressif.com>
Mon, 21 Nov 2016 10:17:07 +0000 (18:17 +0800)
committerWangjialin <wangjialin@espressif.com>
Mon, 21 Nov 2016 10:17:07 +0000 (18:17 +0800)
commit1cc1d9d721663662e989cb43ac60bcf1d0a53a6b
tree1ca40e4b0b2a3e971ab719820d19f97740fd6f93
parent311a4cd6786bd56d92d9886101ff7206784f2319
driver: Add PCNT code

1. add PCNT module in periph_ctrl.c/.h
2. add description of PCNT status in pcnt_struct.h
3. add PCNT driver code
4. add PCNT example code.
components/driver/include/driver/pcnt.h [new file with mode: 0644]
components/driver/include/driver/periph_ctrl.h
components/driver/pcnt.c [new file with mode: 0644]
components/driver/periph_ctrl.c
components/esp32/include/soc/pcnt_struct.h
examples/12_pcnt/Makefile [new file with mode: 0644]
examples/12_pcnt/main/component.mk [new file with mode: 0644]
examples/12_pcnt/main/pcnt_test.c [new file with mode: 0644]