zoukankan      html  css  js  c++  java
  • LPC43xx SGPIO Slice 示意图

    SGPIO inverted clock qualifier

    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

  • 相关阅读:
    Python with语句和过程抽取思想
    HTML DOM 学习
    暴力破解( Hydra | Medusa)
    CSRF漏洞原理浅谈
    文件包含漏洞原理浅探
    JavaScript BOM学习
    PHP命令执行漏洞初探
    一段思考
    文件上传解析漏洞
    谈谈Javascript的this关键字(this is not this)
  • 原文地址:https://www.cnblogs.com/shangdawei/p/4803399.html
Copyright © 2011-2022 走看看