wch,afio

Vendor: WinChipHead

Description

WCH CH32V00x AFIO

Properties

Top level properties

These property descriptions apply to “wch,afio” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Grandchild node properties

Name

Type

Details

slew-rate

string

Default value: max-speed-2mhz

Legal values: 'max-speed-10mhz', 'max-speed-2mhz', 'max-speed-30mhz'

pinmux

array

An array of pins sharing the same group properties. The pins should
be defined using pre-defined macros.

This property is required.

bias-high-impedance

boolean

high impedance mode ("third-state", "floating")

bias-pull-up

boolean

enable pull-up resistor

bias-pull-down

boolean

enable pull-down resistor

drive-push-pull

boolean

drive actively high and low

drive-open-drain

boolean

drive with open drain (hardware AND)

output-low

boolean

set the pin to output mode with low level

output-high

boolean

set the pin to output mode with high level