]> granicus.if.org Git - esp-idf/commit
driver: add rtc module and bugfix gpio32 gpio33
authorChu Shu Chen <chushuchen@espressif.com>
Wed, 7 Dec 2016 06:18:10 +0000 (14:18 +0800)
committerWu Jian Gang <wujiangang@espressif.com>
Wed, 7 Dec 2016 07:56:13 +0000 (15:56 +0800)
commitb1db2721dc067ada3b2144b894980d4e00ff71fb
tree1f5cd4742d1ca46e3890c642df3b395e59d97b03
parent60d744078138e6ec2f1b39f4670fbc315bcb35fe
driver: add rtc module and bugfix gpio32 gpio33

feature(rtc_module):add rtc module

1. add rtc io control API (pull,output and input)
2. add touch pad API (touch pad read and interrupt)
3. add adc1 API (the max width is 12 Bits and support attenuation)
4. add hall sensor API (support hall sensor read )
5. add dac API (the width is 8 Bits)

bugfix(gpio):gpio32 and gpio33 can not output and input

the gpio32 and gpio33 is initialize by librtc.a,and gpio_config not initialize the gpio as
digital gpio.they can not output and input,when users use gpio32 or gpio33.And there are some problems
about others driver ,when they use gpio32 or gpio33 as  matrix.
12 files changed:
components/driver/gpio.c
components/driver/include/driver/adc.h [new file with mode: 0644]
components/driver/include/driver/dac.h [new file with mode: 0644]
components/driver/include/driver/gpio.h
components/driver/include/driver/rtc_io.h [new file with mode: 0644]
components/driver/include/driver/touch_pad.h [new file with mode: 0644]
components/driver/rtc_module.c [new file with mode: 0644]
components/esp32/include/soc/rtc_io_reg.h
components/esp32/include/soc/saradc_reg.h [deleted file]
components/esp32/include/soc/sens_reg.h [new file with mode: 0644]
components/esp32/include/soc/soc.h
components/ulp/ulp.c