/// Returns the metriful register value for this period, one of 0x0, 0x1, or
/// 0x2.
Returns the metriful register value for this period, one of 0x0, 0x1, or
0x2.
Returns the metriful register value for this period one of 0x0 0x1 or 0x2 .
pub fn to_value(&self) -> u8 {
    match self {
      CyclePeriod::Period0 => 0,
      CyclePeriod::Period1 => 1,
      CyclePeriod::Period2 => 2,
    }
  }
pub fn to_value ( & self ) -> u8 { match self { CyclePeriod :: Period0 => 0 , CyclePeriod :: Period1 => 1 , CyclePeriod :: Period2 => 2 , } }
Returns the metriful register value for this period, one of 0x0, 0x1, or
0x2.
Returns the metriful register value for this period one of 0x0 0x1 or 0x2 .
&self