这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界» 论坛首页» 嵌入式开发» MCU» MSP430的ESD规格是什么

共2条 1/1 1 跳转至

MSP430的ESD规格是什么

助工
2014-11-18 17:10:51 打赏
MSP430的ESD规格是什么

工程师
2014-11-18 17:21:54 打赏
2楼

没有。可以按照以下代码示例来进行仿真:

按照以下代码可以获得漏极开路/集电极开路引脚,当:

  • P0OUT.x=1
  • P0.x 脚接下拉电阻
  • 通过P0DIR.x位控制数字信号:
    0 = passive Low (through pull-down)
    1 = active High (through P0.x pin)

举例,漏极开路:
:
:
BIC.B #Open_drain_io,&P0OUT
:
#Open_drain_io,&P0DIR
; Active Low on bit
; "Open_drain_io" at Port P0
:
BIC.B #Open_drain_io,&P0DIR
; Passive high on bit
; "Open_drain_io" at Port P0
; Passive high is generated since
; the i/o is switched to 3-state

你将得到一个开源极端口引脚,当:

  • P0OUT.x=1
  • P0.x 脚接下拉电阻
  • 通过P0DIR.x位控制数字信号:
    0 = passive Low (through pull-down)
    1 = active High (through P0.x pin)

举例,源极开路:
:
:
BIS.B #Open_source_io,&P0OUT
:
BIS.B #Open_source_io,&P0DIR
; Active High on bit
; "Open_drain_io" at Port P0
:
BIC.B #Open_source_io,&P0DIR
; Passive Low on bit
; "Open_source_io" at Port P0
; Passive Low is generated since
; the i/o is switched to 3-state


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]