Searched refs:instNum (Results 1 – 3 of 3) sorted by relevance
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/ |
D | cy_sysclk_v2.c | 47 …uint8_t instNum = (uint8_t)(((uint32_t)ipBlock & PERI_PCLK_INST_NUM_Msk )>>PERI_PCLK_INST_NUM_Pos); in Cy_SysClk_PeriPclkSetDivider() local 49 CY_ASSERT_L1(instNum < PERI_INSTANCE_COUNT); in Cy_SysClk_PeriPclkSetDivider() 50 CY_ASSERT_L1(grpNum < PERI_PCLK_GR_NUM(instNum)); in Cy_SysClk_PeriPclkSetDivider() 54 if ((dividerNum < (PERI_DIV_8_NR(instNum, grpNum))) && in Cy_SysClk_PeriPclkSetDivider() 57 …CY_REG32_CLR_SET(PERI_DIV_8_CTL(instNum, grpNum, dividerNum), PERI_DIV_8_CTL_INT8_DIV, dividerValu… in Cy_SysClk_PeriPclkSetDivider() 63 if ((dividerNum < (PERI_DIV_16_NR(instNum, grpNum))) && in Cy_SysClk_PeriPclkSetDivider() 66 …CY_REG32_CLR_SET(PERI_DIV_16_CTL(instNum, grpNum, dividerNum), PERI_DIV_16_CTL_INT16_DIV, dividerV… in Cy_SysClk_PeriPclkSetDivider() 81 …uint8_t instNum = (uint8_t)(((uint32_t)ipBlock & PERI_PCLK_INST_NUM_Msk )>>PERI_PCLK_INST_NUM_Pos); in Cy_SysClk_PeriPclkGetDivider() local 83 CY_ASSERT_L1(instNum < PERI_INSTANCE_COUNT); in Cy_SysClk_PeriPclkGetDivider() 84 CY_ASSERT_L1(grpNum < PERI_PCLK_GR_NUM(instNum)); in Cy_SysClk_PeriPclkGetDivider() [all …]
|
/hal_infineon-3.6.0/mtb-pdl-cat1/devices/COMPONENT_CAT1C/include/ |
D | cy_device.h | 1271 #define PERI_PCLK_GR_NUM(instNum) (((instNum) == 0U)? PERI0_PCLK_GROUP_NR : PERI1_PCLK… argument 1274 #define PERI_PCLK_REG_BASE(instNum) ((PERI_PCLK_Type*)(PERI_PCLK0_BASE + ((instNum) * PE… argument 1276 #define PERI_DIV_8_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1277 #define PERI_DIV_16_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1278 #define PERI_DIV_16_5_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1279 #define PERI_DIV_24_5_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1280 #define PERI_CLOCK_CTL(instNum, grNum, periNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1281 #define PERI_DIV_CMD(instNum, grNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1283 #define PERI_DIV_8_NR(instNum, grNum) (((instNum) == 0U) ? \ argument 1306 #define PERI_DIV_16_NR(instNum, grNum) (((instNum) == 0U) ? \ argument [all …]
|
/hal_infineon-3.6.0/mtb-pdl-cat1/devices/COMPONENT_CAT1B/include/ |
D | cy_device.h | 1085 #define PERI_PCLK_GR_NUM(instNum) (((instNum) == 0U)? PERI0_PCLK_GROUP_NR : PERI1_PCLK… argument 1088 #define PERI_PCLK_REG_BASE(instNum) ((PERI_PCLK_Type*)(PERI_PCLK0_BASE + ((instNum) * PE… argument 1090 #define PERI_DIV_8_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1091 #define PERI_DIV_16_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1092 #define PERI_DIV_16_5_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1093 #define PERI_DIV_24_5_CTL(instNum, grNum, divNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1094 #define PERI_CLOCK_CTL(instNum, grNum, periNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1095 #define PERI_DIV_CMD(instNum, grNum) ((PERI_PCLK_GR_Type*) &PERI_PCLK_R… argument 1097 #define PERI_DIV_8_NR(instNum, grNum) (((instNum) == 0U) ? \ argument 1120 #define PERI_DIV_16_NR(instNum, grNum) (((instNum) == 0U) ? \ argument [all …]
|