dwfpy.digital_input.DigitalInputClock
- class DigitalInputClock(module)[source]
Bases:
objectRepresents the clock unit of a Digital Input device.
Methods
Attributes
Gets or sets the configured clock divider value.
Gets the maximum supported clock divider value.
Gets the internal clock frequency in Hz.
Gets or sets the clock source.
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
- property source_info: Tuple[DigitalInputClockSource, ...]
Gets the supported clock sources.
- Return type
Tuple[DigitalInputClockSource,...]