查看: 3024|回复: 2

[求助] code warrior 10.5 中使用processor expert _LDD疑问?

[复制链接]

该用户从未签到

2

主题

10

帖子

0

新手上路

Rank: 1

积分
16
最后登录
1970-1-1
发表于 2014-1-17 10:41:23 | 显示全部楼层 |阅读模式
 code warrior 10.5 中使用processor expert 生成代码时,有一部分模块名以_LDD,例如DMA_LDD,请问带_LDD和不带LDD有什么区别?在使用上,有什么不同?
我知道答案 目前已有1人回答
回复

使用道具 举报

  • TA的每日心情
    开心
    2018-7-2 06:04
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    59

    主题

    2888

    帖子

    10

    金牌会员

    Rank: 6Rank: 6

    积分
    6020
    最后登录
    2020-9-28
    发表于 2014-1-17 11:02:24 | 显示全部楼层

    回复: code warrior 10.5 中使用processor expert _LDD疑问?

    暂时我用下来 带LDD的类似库,并附带典型应用等。
    蓝色小图标那种更偏向于手动修改寄存器。
    该会员没有填写今日想说内容.
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    8

    主题

    299

    帖子

    0

    高级会员

    Rank: 4

    积分
    653
    最后登录
    2018-12-14
    发表于 2014-1-17 11:21:30 | 显示全部楼层

    回复: code warrior 10.5 中使用processor expert _LDD疑问?

    最主要的区别是,带LDD的可以用于RTOS, 不带LDD的不可以。 kinetis系列的一般都支持带LDD的
    这时从help里抓来的:

    ·         LDD components - Logical Device Drivers. The LDD components are efficient set of components that are ready to be used together with RTOS. They provide a unified hardware access across MCUs allowing to develop simpler and more portable RTOS drivers or bare board application. See chapter Logical Device Drivers for details.

    还有个图

    Features of Components at Different Level of Abstraction

                Feature
                
                
    LDD components

                
                
    High level

                
                
    Low level

                
                
    Peripheral Init

                
                High-level settings   portable between different MCU families
                
                
    partially

                
                
    yes

                
                
    partially

                
                
    no

                
                Portable method   interface for all CPU families
                
                
    yes

                
                
    yes

                
                
    partially
                
    (usually direct access   to control registers)

                
                
    Init method only

                
                CPU specific   peripheral features support
                
                
    mostly yes

                
                
    partially

                
                
    mostly yes

                
                
    full

                
                Low-level peripheral   initialization settings
                
                
    partially

                
                
    no

                
                
    partially

                
                
    yes

                
                Speed mode independent   timing
                
                
    yes

                
                
    yes

                
                
    mostly yes

                
                
    no

                
                Events support
                
                
    yes

                
                
    yes

                
                
    yes

                
                
    no
                
    (direct interrupt   handling)

                
                Software emulation of   a component function (if the specific hardware is not present)
                
                
    no

                
                
    yes

                
                
    no

                
                
    no

                
                Support for RTOS   drivers creation
                
                
    yes

                
                
    no

                
                
    no

                
                
    no

                

    Copyright 2011 Freescale Semiconductor, Inc.

     
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-18 22:38 , Processed in 0.090191 second(s), 23 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

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