{ "clock_hz": 72000000, "nominal_examples": [ { "psc": 71, "arr": 999, "ccr": 250, "tick_hz": 1000000.0, "frequency_hz": 1000.0, "period_us": 1000.0, "high_us": 250.0, "duty_percent": 25.0, "ideal_mean_v": 0.825, "duty_step_percentage_points": 0.1, "resolution_bits": 9.965784284662087 }, { "psc": 71, "arr": 999, "ccr": 500, "tick_hz": 1000000.0, "frequency_hz": 1000.0, "period_us": 1000.0, "high_us": 500.0, "duty_percent": 50.0, "ideal_mean_v": 1.65, "duty_step_percentage_points": 0.1, "resolution_bits": 9.965784284662087 }, { "psc": 71, "arr": 999, "ccr": 750, "tick_hz": 1000000.0, "frequency_hz": 1000.0, "period_us": 1000.0, "high_us": 750.0, "duty_percent": 75.0, "ideal_mean_v": 2.4749999999999996, "duty_step_percentage_points": 0.1, "resolution_bits": 9.965784284662087 } ], "best_exact_1khz": { "psc": 1, "arr": 35999, "counts": 36000, "bits": 15.1357092861044 }, "best_exact_20khz": { "psc": 0, "arr": 3599, "counts": 3600, "bits": 11.813781191217037 }, "invalid_1khz_psc0_arr": 71999, "endpoint_100percent": { "psc": 71, "arr": 999, "ccr": 1000, "tick_hz": 1000000.0, "frequency_hz": 1000.0, "period_us": 1000.0, "high_us": 1000.0, "duty_percent": 100.0, "ideal_mean_v": 3.3, "duty_step_percentage_points": 0.1, "resolution_bits": 9.965784284662087 }, "ccr65536_fits_16bit": false, "timer_input_tick_ns": 13.88888888888889, "counter_tick_us": 1.0, "example_exact_10hz": { "psc": 143, "arr": 49999, "ccr": 25000, "tick_hz": 500000.0, "frequency_hz": 10.0, "period_us": 100000.0, "high_us": 50000.0, "duty_percent": 50.0, "ideal_mean_v": 1.65, "duty_step_percentage_points": 0.002, "resolution_bits": 15.609640474436812 }, "max_16bit_duty_percent": 99.99847412109375, "gamma_lut_32": [ 0, 1, 2, 6, 11, 18, 27, 38, 51, 66, 83, 102, 124, 148, 174, 202, 233, 267, 302, 341, 381, 425, 470, 519, 569, 623, 679, 738, 799, 864, 930, 1000 ] }