trace32 python rcl 研究

源码位置

files/demo/api/python/rcl/dist/lauterbach-trace32-rcl-1.0.2

研究 T32_NotifyXXXX

T32_NotifyEventEnable 相当于 cmm 脚本中的“ON”
但 rcl 中并没有实现!
但在 _rc/_library.py 中却发现了相关的代码:

    def t32_notifystateenable(self, event_code, callback_function):
        """Enables notification at remote server and registers locally callback_function"""

        if event_code > 7:
            raise err.ApiNotificationEventCountExceedError(event_code)

        event_mask_value = 1 << event_code

        try:
            if event_code == T32_E_EDIT:
                result = self.generic_api_call(rapi_cmd&
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值