Home
last modified time | relevance | path

Searched refs:prop_val (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.6.0/mcux/scripts/pinctrl/lpc/
Dlpc_cfg_utils.py471 prop_val = lambda x: props[x] if x in props else defaults[x] function
474 pull_enable = prop_val('pupdena') == 'enabled'
476 if prop_val('pupdsel') == 'pullDown':
481 if prop_val('ibena') == 'enabled':
488 if prop_val('amena') == 'enabled':
491 if prop_val('odena') == 'enabled':
494 if prop_val('iiena') == 'enabled':
522 prop_val = lambda x: props[x] if x in props else defaults[x] if x in defaults else "" function
525 if prop_val('mode') == 'pullUp':
527 elif prop_val('mode') == 'pullDown':
[all …]
/hal_nxp-3.6.0/mcux/scripts/pinctrl/imx/
Dimx_cfg_utils.py716 prop_val = lambda x: props[x] if x in props else (defaults[x] if x in defaults else "") function
718 if prop_val('SION') == 'ENABLED':
720 if prop_val('LVTTL') == 'Enabled':
722 if prop_val('HYS') == 'Enable' or prop_val('HYS') == 'Schmitt':
724 if prop_val('PE') == 'Enabled':
726 if prop_val('PUE') == 'Weak_Pull_Up':
728 elif prop_val('PUE') == 'Weak_Pull_Down':
732 if prop_val('PUE') == 'Enabled':
734 if prop_val('ODE') == 'Enabled' or prop_val('ODE') == 'Open_Drain_Enable':
784 prop_val = lambda x: props[x] if x in props else (defaults[x] if x in defaults else "") function
[all …]
/hal_nxp-3.6.0/mcux/scripts/pinctrl/kinetis/
Dkinetis_cfg_utils.py391 prop_val = lambda x: props[x] if x in props else defaults[x] function
393 pull_enable = prop_val('pull_enable') == 'enable'
396 if prop_val('open_drain') == 'enable':
400 if prop_val('pull_select') == 'up':
405 if prop_val('passive_filter') == 'enable':