Type Alias rk3399_pac::usb3::gfladj::GfladjRefclk240mhzDecrR

source ·
pub type GfladjRefclk240mhzDecrR = FieldReader;
Expand description

Field GFLADJ_REFCLK_240MHZ_DECR reader - GFLADJ_REFCLK_240MHZ_DECR

This field indicates the decrement value that the controller applies

for each ref_clk in order to derive a frame timer in terms of a

240-MHz clock.

This field must be programmed to a non-zero value only if

GFLADJ_REFCLK_LPM_SEL is set to 1.

The value is derived as follows:

GFLADJ_REFCLK_240MHZ_DECR = 240/ref_clk_frequency

Examples: If the ref_clk is 24 MHz then

  1. GUCTL.REF_CLK_PERIOD = 41

  2. GFLADJ.GFLADJ_REFCLK_240MHZ_DECR = 240/24 = 10

Aliased Type§

struct GfladjRefclk240mhzDecrR { /* private fields */ }