完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
目标是让DAC在最后一个功率水平开始,在它被关掉之前设置。
查看API,我想我可以用DVAC8SaveCo()保存DAC的配置(包括它的当前级别)。 用我的测试,它似乎没有办法。我需要直接写信到一些登记簿吗?我需要实现一些EEPROM来保存我的价值吗? 谢谢。 以上来自于百度翻译 以下为原文 The goal is to have the DAC start at the last power level where it was set before being powered down. Looking at the API, I thought I would be able to save the config of the DAC (including its current level) with VDAC8_SaveConfig() With my testing, it doesn't seem to do the trick. Do I need to write straight to some register? Do I need to implement some EEPROM to save my value? Thanks. |
|
相关推荐
2个回答
|
|
|
为了省掉掉下来的任何值,唯一的解决办法是使用EEPROM。
但是: 你需要电源来编程EEPROM。 听起来像是逻辑悖论? 好的,你必须提前检测断电情况(失去AC),并使用一个金帽来持续编程EEPROM和关机。 DAC的SaveCigFug()仅用于存储SRam中的睡眠模式的一些信息,这些信息将在PD中丢失。 电源到PSoC! 鲍勃 以上来自于百度翻译 以下为原文 To save any values surviving a power-down the only solution is to use EEProm. But: You need power to program the EEProm Sounds like a logical paradoxon? Well you'll have to detect the power-down situation early (lost of AC) and use a gold-cap that lasts for programming the eeprom and shut-down. The SaveConfiguration() of the DAC is only used to store some info for sleep-mode in SRam which will be lost at PD. Power to the PSoC! Bob |
|
|
|
|
|
谢谢你提供的信息。
因为这个值并不意味着在操作过程中不断地变化,所以只要改变了值就可以写入它。 再次感谢! 谢尔比 以上来自于百度翻译 以下为原文 Thanks for the information. Since this value isn't meant to change continuously during operation, it may be safe just to write it whenever the value is changed. Thanks again! Shelby |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7255 浏览 0 评论
2482 浏览 1 评论
2176 浏览 1 评论
4037 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2082 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7760浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6318浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
752浏览 2评论
725浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
8152浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-9 23:56 , Processed in 0.628533 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2635