code: func WithADS1x15DataRate(val int) func(Config) {
  	return func(c Config) {
  		d, ok := c.(*ADS1x15Driver)
  		if ok {
  			d.DefaultDataRate = val
  		} else {
  			// TODO: return error for trying to set data rate for non-ADS1015Driver
  			return
  		}
  	}
  }
docs: // WithADS1x15DataRate option sets the ADS1x15Driver data rate option.
  // Valid gain settings are any of the ADS1x15RegConfigPga* values