The function Get_Frequency gets the current operating-frequency of the queried unit.
DWORD Get_Frequency( int dev );
Parameters
dev
All Modules | |
---|---|
dev | unit |
0 | CPU |
Trizeps VII | |
0x80010000 | CLKITEM_OSC |
0x80010001 | CLKITEM_PLL1 |
0x80010002 | CLKITEM_PLL2 |
0x80010003 | CLKITEM_PLL2_PFD0 |
0x80010004 | CLKITEM_PLL2_PFD1 |
0x80010005 | CLKITEM_PLL2_PFD2 |
0x80010006 | CLKITEM_PLL3 |
0x80010007 | CLKITEM_PLL3_PFD0 |
0x80010008 | CLKITEM_PLL3_PFD1 |
0x80010009 | CLKITEM_PLL3_PFD2 |
0x8001000A | CLKITEM_PLL3_PFD3 |
0x8001000B | CLKITEM_PLL4 |
0x8001000C | CLKITEM_PLL5 |
0x8001000D | CLKITEM_PLL7 |
0x8001000E | CLKITEM_PLL8 |
0x8001000F | CLKITEM_PLL3_DIV4 |
0x80010010 | CLKITEM_PLL3_DIV6 |
0x80010011 | CLKITEM_PLL3_PFD1_DIV6 |
0x80010012 | CLKITEM_PLL3_PFD1_DIV20 |
0x80010013 | CLKITEM_SYSTEM100M |
0x80010014 | CLKITEM_SYSTEM125M |
0x80010015 | CLKITEM_SYSTEM133M |
0x80010016 | CLKITEM_IPP_DI0_CLK |
0x80010017 | CLKITEM_IPP_DI1_CLK |
0x80010018 | CLKITEM_ARM_PODF |
0x80010019 | CLKITEM_PERIPH2_CLK2_PODF |
0x8001001A | CLKITEM_MMDC_CH1_AXI_PODF |
0x8001001B | CLKITEM_AXI_SEL |
0x8001001C | CLKITEM_AXI_ALT_SEL |
0x8001001D | CLKITEM_IPG_PODF |
0x8001001E | CLKITEM_AHB_PODF |
0x8001001F | CLKITEM_AXI_PODF |
0x80010020 | CLKITEM_MMDC_CH0_AXI_PODF |
0x80010021 | CLKITEM_PERIPH_CLK_SEL |
0x80010022 | CLKITEM_PERIPH2_CLK_SEL |
0x80010023 | CLKITEM_PERIPH_CLK2_PODF |
0x80010024 | CLKITEM_GPU2D_AXI_CLK_SEL |
0x80010025 | CLKITEM_GPU3D_AXI_CLK_SEL |
0x80010026 | CLKITEM_GPU3D_CORE_CLK_SEL |
0x80010027 | CLKITEM_GPU3D_SHADER_CLK_SEL |
0x80010028 | CLKITEM_PCIE_AXI_CLK_SEL |
0x80010029 | CLKITEM_VDOAXI_CLK_SEL |
0x8001002A | CLKITEM_PERIPH_CLK2_SEL |
0x8001002B | CLKITEM_VPU_AXI_CLK_SEL |
0x8001002C | CLKITEM_GPU2D_CLK_SEL |
0x8001002D | CLKITEM_PRE_PERIPH_CLK_SEL |
0x8001002E | CLKITEM_PERIPH2_CLK2_SEL |
0x8001002F | CLKITEM_PRE_PERIPH2_CLK_SEL |
0x80010030 | CLKITEM_GPU2D_CORE_CLK_PODF |
0x80010031 | CLKITEM_GPU3D_CORE_PODF |
0x80010032 | CLKITEM_GPU3D_SHADER_PODF |
0x80010033 | CLKITEM_PLL2_PFD2_DIV2 |
0x80010034 | CLKITEM_PERCLK_PODF |
0x80010035 | CLKITEM_SSI1_CLK_SEL |
0x80010036 | CLKITEM_SSI2_CLK_SEL |
0x80010037 | CLKITEM_SSI3_CLK_SEL |
0x80010038 | CLKITEM_USDHC1_CLK_SEL |
0x80010039 | CLKITEM_USDHC2_CLK_SEL |
0x8001003A | CLKITEM_USDHC3_CLK_SEL |
0x8001003B | CLKITEM_USDHC4_CLK_SEL |
0x8001003C | CLKITEM_ACLK_PODF |
0x8001003D | CLKITEM_ACLK_EIM_SLOW_PODF |
0x8001003E | CLKITEM_ACLK_SEL |
0x8001003F | CLKITEM_ACLK_EIM_SLOW_SEL |
0x80010040 | CLKITEM_PLL3_DIV8 |
0x80010041 | CLKITEM_CAN_CLK_PODF |
0x80010042 | CLKITEM_LDB_DI0_IPU_DIV |
0x80010043 | CLKITEM_LDB_DI1_IPU_DIV |
0x80010044 | CLKITEM_ESAI_CLK_SEL |
0x80010045 | CLKITEM_UART_CLK_PODF |
0x80010046 | CLKITEM_USDHC1_PODF |
0x80010047 | CLKITEM_USDHC2_PODF |
0x80010048 | CLKITEM_USDHC3_PODF |
0x80010049 | CLKITEM_USDHC4_PODF |
0x8001004A | CLKITEM_VPU_AXI_PODF |
0x8001004B | CLKITEM_SSI1_CLK_PODF |
0x8001004C | CLKITEM_SSI1_CLK_PRED |
0x8001004D | CLKITEM_ESAI_CLK_PRED |
0x8001004E | CLKITEM_SSI3_CLK_PODF |
0x8001004F | CLKITEM_SSI3_CLK_PRED |
0x80010050 | CLKITEM_ESAI_CLK_PODF |
0x80010051 | CLKITEM_SSI2_CLK_PODF |
0x80010052 | CLKITEM_SSI2_CLK_PRED |
0x80010053 | CLKITEM_LDB_DI0_CLK_SEL |
0x80010054 | CLKITEM_LDB_DI1_CLK_SEL |
0x80010055 | CLKITEM_ENFC_CLK_SEL |
0x80010056 | CLKITEM_ENFC_CLK_PRED |
0x80010057 | CLKITEM_ENFC_CLK_PODF |
0x80010058 | CLKITEM_SPDIF1_CLK_SEL |
0x80010059 | CLKITEM_SPDIF1_CLK_PODF |
0x8001005A | CLKITEM_SPDIF1_CLK_PRED |
0x8001005B | CLKITEM_SPDIF0_CLK_SEL |
0x8001005C | CLKITEM_SPDIF0_CLK_PODF |
0x8001005D | CLKITEM_SPDIF0_CLK_PRED |
0x8001005E | CLKITEM_HSI_TX_CLK_SEL |
0x8001005F | CLKITEM_HSI_TX_PODF |
0x80010060 | CLKITEM_IPU1_DI0_CLK_SEL |
0x80010061 | CLKITEM_IPU1_DI0_PODF |
0x80010062 | CLKITEM_IPU1_DI0_PRE_CLK_SEL |
0x80010063 | CLKITEM_IPU1_DI1_CLK_SEL |
0x80010064 | CLKITEM_IPU1_DI1_PODF |
0x80010065 | CLKITEM_IPU1_DI1_PRE_CLK_SEL |
0x80010066 | CLKITEM_IPU2_DI0_CLK_SEL |
0x80010067 | CLKITEM_IPU2_DI0_PODF |
0x80010068 | CLKITEM_IPU2_DI0_PRE_CLK_SEL |
0x80010069 | CLKITEM_IPU2_DI1_CLK_SEL |
0x8001006A | CLKITEM_IPU2_DI1_PODF |
0x8001006B | CLKITEM_IPU2_DI1_PRE_CLK_SEL |
0x8001006C | CLKITEM_ECSPI_CLK_PODF |
0x8001006D | CLKITEM_IPU1_HSP_CLK_SEL |
0x8001006E | CLKITEM_IPU1_HSP_PODF |
0x8001006F | CLKITEM_IPU2_HSP_CLK_SEL |
0x80010070 | CLKITEM_IPU2_HSP_PODF |
0x80010071 | CLKITEM_AIPS_TZ1_CLK |
0x80010072 | CLKITEM_AIPS_TZ2_CLK |
0x80010073 | CLKITEM_APBHDMA_CLK |
0x80010074 | CLKITEM_ASRC_CLK |
0x80010075 | CLKITEM_CAAM_SECURE_MEM_CLK |
0x80010076 | CLKITEM_CAAM_WRAPPER_ACLK_CLK |
0x80010077 | CLKITEM_CAAM_WRAPPER_IPG_CLK |
0x80010078 | CLKITEM_CAN1_CLK |
0x80010079 | CLKITEM_CAN1_SERIAL_CLK |
0x8001007A | CLKITEM_CAN2_CLK |
0x8001007B | CLKITEM_CAN2_SERIAL_CLK |
0x8001007C | CLKITEM_ARM_DBG_CLK |
0x8001007D | CLKITEM_DCIC1_CLK |
0x8001007E | CLKITEM_DCIC2_CLK |
0x8001007F | CLKITEM_DTCP_CLK |
0x80010080 | CLKITEM_ECSPI1_CLK |
0x80010081 | CLKITEM_ECSPI2_CLK |
0x80010082 | CLKITEM_ECSPI3_CLK |
0x80010083 | CLKITEM_ECSPI4_CLK |
0x80010084 | CLKITEM_ECSPI5_CLK |
0x80010085 | CLKITEM_ENET_CLK |
0x80010086 | CLKITEM_EPIT1_CLK |
0x80010087 | CLKITEM_EPIT2_CLK |
0x80010088 | CLKITEM_ESAI_CLK |
0x80010089 | CLKITEM_GPT_CLK |
0x8001008A | CLKITEM_GPT_SERIAL_CLK |
0x8001008B | CLKITEM_GPU2D_CLK |
0x8001008C | CLKITEM_GPU3D_CLK |
0x8001008D | CLKITEM_HDMI_TX_IAHBCLK |
0x8001008E | CLKITEM_HDMI_TX_ISFRCLK |
0x8001008F | CLKITEM_I2C1_SERIAL_CLK |
0x80010090 | CLKITEM_I2C2_SERIAL_CLK |
0x80010091 | CLKITEM_I2C3_SERIAL_CLK |
0x80010092 | CLKITEM_OCOTP_CLK |
0x80010093 | CLKITEM_IOMUX_IPT_CLK |
0x80010094 | CLKITEM_IPMUX1_CLK |
0x80010095 | CLKITEM_IPMUX2_CLK |
0x80010096 | CLKITEM_IPMUX3_CLK |
0x80010097 | CLKITEM_IPSYNC1_CLK |
0x80010098 | CLKITEM_IPSYNC2_CLK |
0x80010099 | CLKITEM_IPSYNC3_CLK |
0x8001009A | CLKITEM_IPU1_IPU_CLK |
0x8001009B | CLKITEM_IPU1_IPU_DI0_CLK |
0x8001009C | CLKITEM_IPU1_IPU_DI1_CLK |
0x8001009D | CLKITEM_IPU2_IPU_CLK |
0x8001009E | CLKITEM_IPU2_IPU_DI0_CLK |
0x8001009F | CLKITEM_IPU2_IPU_DI1_CLK |
0x800100A0 | CLKITEM_LDB_DI0_CLK |
0x800100A1 | CLKITEM_LDB_DI1_CLK |
0x800100A2 | CLKITEM_MIPI_CLK |
0x800100A3 | CLKITEM_MLB_CLK |
0x800100A4 | CLKITEM_MMDC_CORE_ACLK_P0_CLK |
0x800100A5 | CLKITEM_MMDC_CORE_ACLK_P1_CLK |
0x800100A6 | CLKITEM_MMDC_CORE_IPG_P0_CLK |
0x800100A7 | CLKITEM_MMDC_CORE_IPG_P1_CLK |
0x800100A8 | CLKITEM_OCRAM_CLK |
0x800100A9 | CLKITEM_OPENVG_CLK |
0x800100AA | CLKITEM_SYSTEM_125M_CLK |
0x800100AB | CLKITEM_PL301_MX6QFAST1_CLK |
0x800100AC | CLKITEM_PL301_MX6QPER1_CLK |
0x800100AD | CLKITEM_PL301_MX6QPER2_CLK |
0x800100AE | CLKITEM_PWM1_CLK |
0x800100AF | CLKITEM_PWM2_CLK |
0x800100B0 | CLKITEM_PWM3_CLK |
0x800100B1 | CLKITEM_PWM4_CLK |
0x800100B2 | CLKITEM_RAWNAND1_CLK |
0x800100B3 | CLKITEM_RAWNAND2_CLK |
0x800100B4 | CLKITEM_RAWNAND3_CLK |
0x800100B5 | CLKITEM_RAWNAND4_CLK |
0x800100B6 | CLKITEM_ROM_CLK |
0x800100B7 | CLKITEM_SYSTEM_100M_CLK |
0x800100B8 | CLKITEM_SDMA_CLK |
0x800100B9 | CLKITEM_SPBA_CLK |
0x800100BA | CLKITEM_SPDIF_CLK |
0x800100BB | CLKITEM_SSI1_CLK |
0x800100BC | CLKITEM_SSI2_CLK |
0x800100BD | CLKITEM_SSI3_CLK |
0x800100BE | CLKITEM_UART_CLK |
0x800100BF | CLKITEM_UART_SERIAL_CLK |
0x800100C0 | CLKITEM_USBOH3_CLK |
0x800100C1 | CLKITEM_USDHC1_CLK |
0x800100C2 | CLKITEM_USDHC2_CLK |
0x800100C3 | CLKITEM_USDHC3_CLK |
0x800100C4 | CLKITEM_USDHC4_CLK |
0x800100C5 | CLKITEM_EIM_SLOW_CLK |
0x800100C6 | CLKITEM_VDOAXI_CLK |
0x800100C7 | CLKITEM_VPU_CLK |
Return Values
The current frequency.
A value of 0xFFFFFFFF indicates failure.
Requirements
OS Versions: Windows Embedded Compact 7 and later.
Header: drvlib_app.h.
Link Library: drvlib_app.lib.