极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: eddiewwm

LGT8F690A LGTSDK_Builder_1.5 API 初探

[复制链接]
 楼主| 发表于 2019-1-30 10:18:34 | 显示全部楼层
O) Analog Comparator
1)        Enable AC module:        void acEnable(void)
2)        Disable AC module:        void acDisable(void)
3)        Return comparator output (COUT):        u8 acoRead(void)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-1-30 10:20:18 | 显示全部楼层

[b        P) Miscellany
1)        Enable global interrupt:        void gie_enable(void)
2)        Store then disable global interrupt:                void gie_disable(void)
3)        Restore global interrupt, should be couple with gie_disable():        void gie_restore(void)
4)        Delay by us of microseconds:        void delayus(u16 us)
5)        Delay by ms of milliseconds:        void delayms(u16 ms)
6)        Return a*b using hardware multiplier:        u16 axu_fmul8x8(u8 a, u8 b)
7)        Return a*b using hardware multiplier:        u32 axu_fmul16x8(u16 a, u8 b)
8)        Return a*b using hardware multiplier:        u16 axu_fdiv16d8(u16 a, u8 b)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-3-18 10:41:46 | 显示全部楼层
本帖最后由 eddiewwm 于 2019-3-18 10:47 编辑

按要求 先安裝好配合使用的 HI-TECH PICC V9.83 C 編譯軟件,在進入代碼生成之前,要先設置好編譯器的路徑,通過 SDKBuilder 內【Device View】窗口下的【Settings】頁面配置實現:


詳細可看回廠商網站文件:http://www.lgtic.com/lgt8f690a/

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-4-20 03:22 , Processed in 0.046641 second(s), 16 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表