ad2s1210

class adi.ad2s1210.ad2s1210(*args: str | Context, **kwargs: str | Context)

Bases: rx_def

AD2S1210 resolver to digital converter.

compatible_parts = ['ad2s1210']
property excitation_frequency: int

Gets and sets the excitation frequency in Hz.

Setting the value also does a soft reset of the device so that the physical output is updated for the change.

property hysteresis_enable: bool

Gets and sets the hysteresis bit in the Control register.

class adi.ad2s1210.ad2s1210_position_channel(ctrl, channel_name)

Bases: attribute

AD2S1210 position channel

property raw: int

AD2S1210 position channel raw value

property scale: float

AD2S1210 position channel scale

class adi.ad2s1210.ad2s1210_velocity_channel(ctrl, channel_name)

Bases: attribute

AD2S1210 velocity channel

property raw: int

AD2S1210 velocity channel raw value

property scale: float

AD2S1210 velocity channel scale