Function periodic
Source pub fn periodic(repeatability: Repeatability, rate: Rate) -> u16
Expand description
Returns the periodic-mode command for a repeatability and rate.
§Arguments
repeatability - the repeatability to measure at.
rate - how many measurements per second the part should take.
§Returns
The 16-bit command word, one of the PERIODIC_*_MPS_* constants in command.