博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
LPC43xx SGPIO Slice 示意图
阅读量:6838 次
发布时间:2019-06-26

本文共 1147 字,大约阅读时间需要 3 分钟。

Hi,

With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (0x0=enable, 0x1=disable, 0x2=slice, 0x3=pin).

With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).

However if one sets INV_QUALIFIER=0x1, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed,

in other words: 0x0=disabled and 0x1=enabled.

I've tested this with a pin-qualifier using the LPC4330-Xplorer board.

Regards,

pdv

The observed behavior is indeed the case.

With bits 6:5 of SGPIO_MUX_CFG the QUALIFIER_MODE is selected (0x0=enable, 0x1=disable, 0x2=slice, 0x3=pin).

With bit 8 (INV_QUALIFIER) of SLICE_MUX_CFG one can invert the qualifier (0x0=normal qualifier, 0x1=inverted qualifier).

However if one sets INV_QUALIFIER=0x1, then the meanings of the first 2 alternatives of the QUALIFIER_MODE are reversed,
in other words: 0x0=disabled and 0x1=enabled.

Technically the qualifier_mode 
- 0x0 makes the qualifier continues 1, 
- 0x1 makes it continues 0,
- 0x2 ..
- 0x3 ..

The inversion turns the 1 into 0 and the 0 into 1 causing the strange observation.

regards,

NXP MCU Support

 

 

转载地址:http://tyqkl.baihongyu.com/

你可能感兴趣的文章
常见设计模式
查看>>
【转载】TransactionScope只要一个操作失败,它会自动回滚,Complete表示事务完成...
查看>>
1016 因子之和
查看>>
java基础------函数与数组
查看>>
PHP 下载文件&获取文件内容
查看>>
android Launcher——ui框架
查看>>
那些低调的美国互联网金融公司
查看>>
iOS-集成极光推送
查看>>
[下载地址] Emmet前端必备 - 插件配置附手册
查看>>
Loadrunner做性能测试的主要步骤
查看>>
angularJS中的ng-repeat指令!
查看>>
FJ的字符串
查看>>
关于SSI整合之CRUD
查看>>
生产者/消费者模型
查看>>
reset代码
查看>>
阿里,百度,腾讯,360,新浪,网易,小米等开源项目
查看>>
gitshell 基础操作
查看>>
HDU 1517 A Multiplication Game 博弈
查看>>
调整字符串日期的格式
查看>>
paramiko多线程远程执行命令
查看>>