parameterize timer frequency