// THIS HEADER FILE IS AUTOMATICALLY GENERATED -- DO NOT EDIT/** * Copyright (c) 2024 Raspberry Pi Ltd. * * SPDX-License-Identifier: BSD-3-Clause *//* ... */// =============================================================================// Register block : PLL// Version : 1// Bus type : apb// =============================================================================#ifndef_HARDWARE_REGS_PLL_H#define_HARDWARE_REGS_PLL_H// =============================================================================// Register : PLL_CS// Description : Control and Status// GENERAL CONSTRAINTS:// Reference clock frequency min=5MHz, max=800MHz// Feedback divider min=16, max=320// VCO frequency min=750MHz, max=1600MHz#definePLL_CS_OFFSET_u(0x00000000)#definePLL_CS_BITS_u(0xc000013f)#definePLL_CS_RESET_u(0x00000001)// -----------------------------------------------------------------------------// Field : PLL_CS_LOCK// Description : PLL is locked#definePLL_CS_LOCK_RESET_u(0x0)#definePLL_CS_LOCK_BITS_u(0x80000000)#definePLL_CS_LOCK_MSB_u(31)#definePLL_CS_LOCK_LSB_u(31)#definePLL_CS_LOCK_ACCESS"RO"// -----------------------------------------------------------------------------// Field : PLL_CS_LOCK_N// Description : PLL is not locked// Ideally this is cleared when PLL lock is seen and this should// never normally be set#definePLL_CS_LOCK_N_RESET_u(0x0)#definePLL_CS_LOCK_N_BITS_u(0x40000000)#definePLL_CS_LOCK_N_MSB_u(30)#definePLL_CS_LOCK_N_LSB_u(30)#definePLL_CS_LOCK_N_ACCESS"WC"// -----------------------------------------------------------------------------// Field : PLL_CS_BYPASS// Description : Passes the reference clock to the output instead of the divided// VCO. The VCO continues to run so the user can switch between// the reference clock and the divided VCO but the output will// glitch when doing so.#definePLL_CS_BYPASS_RESET_u(0x0)#definePLL_CS_BYPASS_BITS_u(0x00000100)#definePLL_CS_BYPASS_MSB_u(8)#definePLL_CS_BYPASS_LSB_u(8)#definePLL_CS_BYPASS_ACCESS"RW"// -----------------------------------------------------------------------------// Field : PLL_CS_REFDIV// Description : Divides the PLL input reference clock.// Behaviour is undefined for div=0.// PLL output will be unpredictable during refdiv changes, wait// for lock=1 before using it.#definePLL_CS_REFDIV_RESET_u(0x01)#definePLL_CS_REFDIV_BITS_u(0x0000003f)#definePLL_CS_REFDIV_MSB_u(5)#definePLL_CS_REFDIV_LSB_u(0)#definePLL_CS_REFDIV_ACCESS"RW"// =============================================================================// Register : PLL_PWR// Description : Controls the PLL power modes.#definePLL_PWR_OFFSET_u(0x00000004)#definePLL_PWR_BITS_u(0x0000002d)#definePLL_PWR_RESET_u(0x0000002d)// -----------------------------------------------------------------------------// Field : PLL_PWR_VCOPD// Description : PLL VCO powerdown// To save power set high when PLL output not required or// bypass=1.#definePLL_PWR_VCOPD_RESET_u(0x1)#definePLL_PWR_VCOPD_BITS_u(0x00000020)#definePLL_PWR_VCOPD_MSB_u(5)#definePLL_PWR_VCOPD_LSB_u(5)#definePLL_PWR_VCOPD_ACCESS"RW"// -----------------------------------------------------------------------------// Field : PLL_PWR_POSTDIVPD// Description : PLL post divider powerdown// To save power set high when PLL output not required or// bypass=1.#definePLL_PWR_POSTDIVPD_RESET_u(0x1)#definePLL_PWR_POSTDIVPD_BITS_u(0x00000008)#definePLL_PWR_POSTDIVPD_MSB_u(3)#definePLL_PWR_POSTDIVPD_LSB_u(3)#definePLL_PWR_POSTDIVPD_ACCESS"RW"// -----------------------------------------------------------------------------// Field : PLL_PWR_DSMPD// Description : PLL DSM powerdown// Nothing is achieved by setting this low.#definePLL_PWR_DSMPD_RESET_u(0x1)#definePLL_PWR_DSMPD_BITS_u(0x00000004)#definePLL_PWR_DSMPD_MSB_u(2)#definePLL_PWR_DSMPD_LSB_u(2)#definePLL_PWR_DSMPD_ACCESS"RW"// -----------------------------------------------------------------------------// Field : PLL_PWR_PD// Description : PLL powerdown// To save power set high when PLL output not required.#definePLL_PWR_PD_RESET_u(0x1)#definePLL_PWR_PD_BITS_u(0x00000001)#definePLL_PWR_PD_MSB_u(0)#definePLL_PWR_PD_LSB_u(0)#definePLL_PWR_PD_ACCESS"RW"// =============================================================================// Register : PLL_FBDIV_INT// Description : Feedback divisor// (note: this PLL does not support fractional division)// see ctrl reg description for constraints#definePLL_FBDIV_INT_OFFSET_u(0x00000008)#definePLL_FBDIV_INT_BITS_u(0x00000fff)#definePLL_FBDIV_INT_RESET_u(0x00000000)#definePLL_FBDIV_INT_MSB_u(11)#definePLL_FBDIV_INT_LSB_u(0)#definePLL_FBDIV_INT_ACCESS"RW"// =============================================================================// Register : PLL_PRIM// Description : Controls the PLL post dividers for the primary output// (note: this PLL does not have a secondary output)// the primary output is driven from VCO divided by// postdiv1*postdiv2#definePLL_PRIM_OFFSET_u(0x0000000c)#definePLL_PRIM_BITS_u(0x00077000)#definePLL_PRIM_RESET_u(0x00077000)// -----------------------------------------------------------------------------// Field : PLL_PRIM_POSTDIV1// Description : divide by 1-7#definePLL_PRIM_POSTDIV1_RESET_u(0x7)#definePLL_PRIM_POSTDIV1_BITS_u(0x00070000)#definePLL_PRIM_POSTDIV1_MSB_u(18)#definePLL_PRIM_POSTDIV1_LSB_u(16)#definePLL_PRIM_POSTDIV1_ACCESS"RW"// -----------------------------------------------------------------------------// Field : PLL_PRIM_POSTDIV2// Description : divide by 1-7#definePLL_PRIM_POSTDIV2_RESET_u(0x7)#definePLL_PRIM_POSTDIV2_BITS_u(0x00007000)#definePLL_PRIM_POSTDIV2_MSB_u(14)#definePLL_PRIM_POSTDIV2_LSB_u(12)#definePLL_PRIM_POSTDIV2_ACCESS"RW"// =============================================================================// Register : PLL_INTR// Description : Raw Interrupts#definePLL_INTR_OFFSET_u(0x00000010)#definePLL_INTR_BITS_u(0x00000001)#definePLL_INTR_RESET_u(0x00000000)// -----------------------------------------------------------------------------// Field : PLL_INTR_LOCK_N_STICKY#definePLL_INTR_LOCK_N_STICKY_RESET_u(0x0)#definePLL_INTR_LOCK_N_STICKY_BITS_u(0x00000001)#definePLL_INTR_LOCK_N_STICKY_MSB_u(0)#definePLL_INTR_LOCK_N_STICKY_LSB_u(0)#definePLL_INTR_LOCK_N_STICKY_ACCESS"WC"// =============================================================================// Register : PLL_INTE// Description : Interrupt Enable#definePLL_INTE_OFFSET_u(0x00000014)#definePLL_INTE_BITS_u(0x00000001)#definePLL_INTE_RESET_u(0x00000000)// -----------------------------------------------------------------------------// Field : PLL_INTE_LOCK_N_STICKY#definePLL_INTE_LOCK_N_STICKY_RESET_u(0x0)#definePLL_INTE_LOCK_N_STICKY_BITS_u(0x00000001)#definePLL_INTE_LOCK_N_STICKY_MSB_u(0)#definePLL_INTE_LOCK_N_STICKY_LSB_u(0)#definePLL_INTE_LOCK_N_STICKY_ACCESS"RW"// =============================================================================// Register : PLL_INTF// Description : Interrupt Force#definePLL_INTF_OFFSET_u(0x00000018)#definePLL_INTF_BITS_u(0x00000001)#definePLL_INTF_RESET_u(0x00000000)// -----------------------------------------------------------------------------// Field : PLL_INTF_LOCK_N_STICKY#definePLL_INTF_LOCK_N_STICKY_RESET_u(0x0)#definePLL_INTF_LOCK_N_STICKY_BITS_u(0x00000001)#definePLL_INTF_LOCK_N_STICKY_MSB_u(0)#definePLL_INTF_LOCK_N_STICKY_LSB_u(0)#definePLL_INTF_LOCK_N_STICKY_ACCESS"RW"// =============================================================================// Register : PLL_INTS// Description : Interrupt status after masking & forcing#definePLL_INTS_OFFSET_u(0x0000001c)#definePLL_INTS_BITS_u(0x00000001)#definePLL_INTS_RESET_u(0x00000000)// -----------------------------------------------------------------------------// Field : PLL_INTS_LOCK_N_STICKY#definePLL_INTS_LOCK_N_STICKY_RESET_u(0x0)#definePLL_INTS_LOCK_N_STICKY_BITS_u(0x00000001)#definePLL_INTS_LOCK_N_STICKY_MSB_u(0)#definePLL_INTS_LOCK_N_STICKY_LSB_u(0)#definePLL_INTS_LOCK_N_STICKY_ACCESS"RO"98 defines// =============================================================================/* ... */#endif// _HARDWARE_REGS_PLL_H
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.