DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
449 stars 87 forks source link

Enter and Exit low power modes examples #89

Closed danilomna closed 2 years ago

danilomna commented 2 years ago

Hi,

Would be possible add low power examples to the lib? This kind of feature is essential to battery powered devices and would be very usefull.

Enter Low power, sleep mode, deep sleep Exit Low power, IO level change, timer interrupt, watchdog

Regards

Danilo

DeqingSun commented 2 years ago

Read the datasheet before you ask questions like that.

This chip does not have that many sleep features

danilomna commented 2 years ago

Read the datasheet before answer a question like that.

The chip have sleep feature.

image001

danilomna commented 2 years ago

Please reopen issue.

guibom commented 2 years ago

I'm curious about this too... I checked the datasheet and can see some defined registers on ch5xx.h, to enable specific wake up events. But I'm not sure how to use those.