Power Efficient Software Coding

后端 未结 17 669
北海茫月
北海茫月 2020-12-23 16:19

In a typical handheld/portable embedded system device Battery life is a major concern in design of H/W, S/W and the features the device can support. From the Software progra

17条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-23 17:13

    Don't poll, sleep

    Avoid using power hungry areas of the chip when possible. For example multipliers are power hungry, if you can shift and add you can save some Joules (as long as you don't do so much shifting and adding that actually the multiplier is a win!)

    If you are really serious,l get a power-aware debugger, which can correlate power usage with your source code. Like this

提交回复
热议问题