dwfpy.digital_input.DigitalInputClock

class DigitalInputClock(module)[source]

Bases: object

Represents the clock unit of a Digital Input device.

Methods

Attributes

divider

Gets or sets the configured clock divider value.

divider_max

Gets the maximum supported clock divider value.

frequency

Gets the internal clock frequency in Hz.

source

Gets or sets the clock source.

source_info

Gets the supported clock sources.

property divider: int

Gets or sets the configured clock divider value.

Return type

int

property divider_max: int

Gets the maximum supported clock divider value.

Return type

int

property frequency: float

Gets the internal clock frequency in Hz.

Return type

float

property source: DigitalInputClockSource

Gets or sets the clock source.

Return type

DigitalInputClockSource

property source_info: Tuple[DigitalInputClockSource, ...]

Gets the supported clock sources.

Return type

Tuple[DigitalInputClockSource, ...]