Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 175) sorted by relevance

1234567

/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console/str/
Dfsl_str.c1144 static uint8_t StrFormatScanFillInteger(uint32_t flag, va_list *args_ptr, int32_t val) in StrFormatScanFillInteger() argument
1147 if (0U != (flag & (uint32_t)kSCANF_Suppress)) in StrFormatScanFillInteger()
1152 switch (flag & (uint32_t)kSCANF_LengthMask) in StrFormatScanFillInteger()
1155 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1165 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1175 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1185 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1196 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1208 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1222 static uint8_t StrFormatScanFillFloat(uint32_t flag, va_list *args_ptr, double fnum) in StrFormatScanFillFloat() argument
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/str/
Dfsl_str.c1123 static uint8_t StrFormatScanFillInteger(uint32_t flag, va_list *args_ptr, int32_t val) in StrFormatScanFillInteger() argument
1126 if (0U != (flag & (uint32_t)kSCANF_Suppress)) in StrFormatScanFillInteger()
1131 switch (flag & (uint32_t)kSCANF_LengthMask) in StrFormatScanFillInteger()
1134 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1144 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1154 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1164 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1175 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1187 if (0U != (flag & (uint32_t)kSCANF_TypeSinged)) in StrFormatScanFillInteger()
1201 static uint8_t StrFormatScanFillFloat(uint32_t flag, va_list *args_ptr, double fnum) in StrFormatScanFillFloat() argument
[all …]
/hal_nxp-3.5.0/s32/drivers/s32ze/Can_CANEXCEL/include/
DCanEXCEL_Ip_HwAccess.h163 uint32 flag = ((uint32)1U << (msgBuffIdx % 32U)); in CanXL_ClearMsgDescIntStatusFlag() local
165 base->MSGIFLAG[ImaskCnt] = flag; in CanXL_ClearMsgDescIntStatusFlag()
171 uint8 flag = 0; in CanXL_GetMsgDescIntStatusFlag() local
174flag = (uint8)(((base->MSGIFLAG[ImaskCnt] & (1U << (msgBuffIdx % 32))) >> (msgBuffIdx % 32U)) & 1U… in CanXL_GetMsgDescIntStatusFlag()
175 return flag; in CanXL_GetMsgDescIntStatusFlag()
187 uint8 flag = 0; in CanXL_GetMsgBuffIntStatusFlag() local
194 flag = (uint8)(((base->MSGIFLAG[ImaskCnt] & mask) >> (msgBuffIdx % 32U)) & 1U); in CanXL_GetMsgBuffIntStatusFlag()
196 return flag; in CanXL_GetMsgBuffIntStatusFlag()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_inverse_f32.c88 uint32_t i, rowCnt, flag = 0U, j, loopCnt, l; /* loop counters */ in arm_mat_inverse_f32() local
311 flag = 1U; in arm_mat_inverse_f32()
325 if ((flag != 1U) && (in == 0.0f)) in arm_mat_inverse_f32()
552 if ((flag != 1U) && (in == 0.0f)) in arm_mat_inverse_f32()
585 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k, l; /* loop counters */ in arm_mat_inverse_f32() local
741 flag = 1U; in arm_mat_inverse_f32()
752 if ((flag != 1U) && (in == 0.0f)) in arm_mat_inverse_f32()
958 if ((flag != 1U) && (in == 0.0f)) in arm_mat_inverse_f32()
990 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k,l; /* loop counters */ local
1148 flag = 1U;
[all …]
Darm_mat_inverse_f64.c66 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k,l; /* loop counters */ local
224 flag = 1U;
236 if ((flag != 1U) && (in == 0.0))
371 uint32_t i, rowCnt, flag = 0U, j, loopCnt, l; /* loop counters */
514 flag = 1U;
524 if ((flag != 1U) && (in == 0.0))
624 if ((flag != 1U) && (in == 0.0))
Darm_mat_inverse_f16.c70 uint32_t i, rowCnt, flag = 0U, j, loopCnt, l; /* loop counters */ in arm_mat_inverse_f16() local
293 flag = 1U; in arm_mat_inverse_f16()
307 if ((flag != 1U) && (in == 0.0f16)) in arm_mat_inverse_f16()
534 if ((flag != 1U) && (in == 0.0f16)) in arm_mat_inverse_f16()
566 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k,l; /* loop counters */ in arm_mat_inverse_f16() local
723 flag = 1U; in arm_mat_inverse_f16()
733 if ((flag != 1U) && (in == 0.0f16)) in arm_mat_inverse_f16()
867 if ((flag != 1U) && (in == 0.0f16)) in arm_mat_inverse_f16()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/phy/device/phyksz8041/
Dfsl_phyksz8041.c185 uint32_t flag; in PHY_KSZ8041_GetLinkSpeedDuplex() local
193 flag = regValue & PHY_BSTATUS_SPEEDUPLX_MASK; in PHY_KSZ8041_GetLinkSpeedDuplex()
194 if ((PHY_CTL2_100HALFDUPLEX_MASK == flag) || (PHY_CTL2_100FULLDUPLEX_MASK == flag)) in PHY_KSZ8041_GetLinkSpeedDuplex()
206 flag = regValue & PHY_BSTATUS_SPEEDUPLX_MASK; in PHY_KSZ8041_GetLinkSpeedDuplex()
207 if ((PHY_CTL2_10FULLDUPLEX_MASK == flag) || (PHY_CTL2_100FULLDUPLEX_MASK == flag)) in PHY_KSZ8041_GetLinkSpeedDuplex()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/phy/device/phyksz8081/
Dfsl_phyksz8081.c219 uint16_t flag; in PHY_KSZ8081_GetLinkSpeedDuplex() local
227 flag = regValue & PHY_CTL1_SPEEDUPLX_MASK; in PHY_KSZ8081_GetLinkSpeedDuplex()
228 if ((PHY_CTL1_100HALFDUPLEX_MASK == flag) || (PHY_CTL1_100FULLDUPLEX_MASK == flag)) in PHY_KSZ8081_GetLinkSpeedDuplex()
240 flag = regValue & PHY_CTL1_SPEEDUPLX_MASK; in PHY_KSZ8081_GetLinkSpeedDuplex()
241 if ((PHY_CTL1_10FULLDUPLEX_MASK == flag) || (PHY_CTL1_100FULLDUPLEX_MASK == flag)) in PHY_KSZ8081_GetLinkSpeedDuplex()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT595S/drivers/
Dfsl_power.c752 bool flag, step6Flag, step7Flag; in AT_QUICKACCESS_SECTION_CODE() local
759 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10017D0U) == 0x10017D0U); in AT_QUICKACCESS_SECTION_CODE()
760 ns += (flag ? 6000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 9000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
770 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U) && step6Flag && step7Flag; in AT_QUICKACCESS_SECTION_CODE()
771 ns += (flag ? 47000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 1000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
776 flag = (SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U; in AT_QUICKACCESS_SECTION_CODE()
777 ns += flag ? 1000U : 0U; /* Monitors to HP */ in AT_QUICKACCESS_SECTION_CODE()
802 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x800U) == 0U) && step6Flag; in AT_QUICKACCESS_SECTION_CODE()
803 …ns += (flag ? 6000U : (((SYSCTL0->PDSLEEPCFG0 & 0x1000U) == 0U) ? 88000U : 1000U)) / PMU_MIN_CLOCK… in AT_QUICKACCESS_SECTION_CODE()
804 (flag ? 26000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT555S/drivers/
Dfsl_power.c752 bool flag, step6Flag, step7Flag; in AT_QUICKACCESS_SECTION_CODE() local
759 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10017D0U) == 0x10017D0U); in AT_QUICKACCESS_SECTION_CODE()
760 ns += (flag ? 6000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 9000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
770 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U) && step6Flag && step7Flag; in AT_QUICKACCESS_SECTION_CODE()
771 ns += (flag ? 47000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 1000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
776 flag = (SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U; in AT_QUICKACCESS_SECTION_CODE()
777 ns += flag ? 1000U : 0U; /* Monitors to HP */ in AT_QUICKACCESS_SECTION_CODE()
802 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x800U) == 0U) && step6Flag; in AT_QUICKACCESS_SECTION_CODE()
803 …ns += (flag ? 6000U : (((SYSCTL0->PDSLEEPCFG0 & 0x1000U) == 0U) ? 88000U : 1000U)) / PMU_MIN_CLOCK… in AT_QUICKACCESS_SECTION_CODE()
804 (flag ? 26000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT533S/drivers/
Dfsl_power.c752 bool flag, step6Flag, step7Flag; in AT_QUICKACCESS_SECTION_CODE() local
759 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10017D0U) == 0x10017D0U); in AT_QUICKACCESS_SECTION_CODE()
760 ns += (flag ? 6000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 9000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
770 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U) && step6Flag && step7Flag; in AT_QUICKACCESS_SECTION_CODE()
771 ns += (flag ? 47000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 1000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
776 flag = (SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U; in AT_QUICKACCESS_SECTION_CODE()
777 ns += flag ? 1000U : 0U; /* Monitors to HP */ in AT_QUICKACCESS_SECTION_CODE()
802 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x800U) == 0U) && step6Flag; in AT_QUICKACCESS_SECTION_CODE()
803 …ns += (flag ? 6000U : (((SYSCTL0->PDSLEEPCFG0 & 0x1000U) == 0U) ? 88000U : 1000U)) / PMU_MIN_CLOCK… in AT_QUICKACCESS_SECTION_CODE()
804 (flag ? 26000U : 0U); in AT_QUICKACCESS_SECTION_CODE()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dcontrol_lpc.c35 uint32_t flag = kUSART_TxFifoNotFullFlag & USART_GetStatusFlags(base); in myUART_WriteByte() local
36 while (!flag) in myUART_WriteByte()
38 flag = kUSART_TxFifoNotFullFlag & USART_GetStatusFlags(base); in myUART_WriteByte()
Dcontrol.c48 uint8_t flag = 0; in myUART_WriteByte() local
49 while (!flag) in myUART_WriteByte()
51 flag = base->S1 & 0x80; in myUART_WriteByte()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT685S/drivers/
Dfsl_power.c734 bool flag; in AT_QUICKACCESS_SECTION_CODE() local
741 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10017D0U) == 0x10017D0U); in AT_QUICKACCESS_SECTION_CODE()
742 ns += (flag ? 7000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 9000UL : 0UL); in AT_QUICKACCESS_SECTION_CODE()
747 flag = (SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U; in AT_QUICKACCESS_SECTION_CODE()
748 …ns += (flag ? 47000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 1000UL : 0UL); /* Core Regulator LP … in AT_QUICKACCESS_SECTION_CODE()
767 flag = (SYSCTL0->PDSLEEPCFG0 & 0x800U) == 0U; in AT_QUICKACCESS_SECTION_CODE()
768 …ns += (flag ? 6000U : (((SYSCTL0->PDSLEEPCFG0 & 0x1000U) == 0U) ? 88000U : 1000U)) / PMU_MIN_CLOCK… in AT_QUICKACCESS_SECTION_CODE()
769 (flag ? 26000U : 0U); /* Body Bias disable */ in AT_QUICKACCESS_SECTION_CODE()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMXRT633S/drivers/
Dfsl_power.c734 bool flag; in AT_QUICKACCESS_SECTION_CODE() local
741 flag = ((SYSCTL0->PDSLEEPCFG0 & 0x10017D0U) == 0x10017D0U); in AT_QUICKACCESS_SECTION_CODE()
742 ns += (flag ? 7000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 9000UL : 0UL); in AT_QUICKACCESS_SECTION_CODE()
747 flag = (SYSCTL0->PDSLEEPCFG0 & 0x10U) == 0x10U; in AT_QUICKACCESS_SECTION_CODE()
748 …ns += (flag ? 47000UL : 1000UL) / PMU_MIN_CLOCK_MHZ + (flag ? 1000UL : 0UL); /* Core Regulator LP … in AT_QUICKACCESS_SECTION_CODE()
767 flag = (SYSCTL0->PDSLEEPCFG0 & 0x800U) == 0U; in AT_QUICKACCESS_SECTION_CODE()
768 …ns += (flag ? 6000U : (((SYSCTL0->PDSLEEPCFG0 & 0x1000U) == 0U) ? 88000U : 1000U)) / PMU_MIN_CLOCK… in AT_QUICKACCESS_SECTION_CODE()
769 (flag ? 26000U : 0U); /* Body Bias disable */ in AT_QUICKACCESS_SECTION_CODE()
/hal_nxp-3.5.0/imx/drivers/
Duart_imx.h392 static inline bool UART_GetStatusFlag(UART_Type* base, uint32_t flag){ in UART_GetStatusFlag() argument
395 uart_reg = (uint32_t *)((uint32_t)base + (flag >> 16)); in UART_GetStatusFlag()
396 return (bool)((*uart_reg >> (flag & 0x0000FFFF)) & 0x1); in UART_GetStatusFlag()
407 void UART_ClearStatusFlag(UART_Type* base, uint32_t flag);
Duart_imx.c299 void UART_ClearStatusFlag(UART_Type* base, uint32_t flag) in UART_ClearStatusFlag() argument
304 uart_reg = (uint32_t *)((uint32_t)base + (flag >> 16)); in UART_ClearStatusFlag()
305 uart_mask = (1 << (flag & 0x0000FFFF)); in UART_ClearStatusFlag()
/hal_nxp-3.5.0/s32/drivers/s32ze/Icu/src/
DSiul2_Icu_Ip.c372 uint32 flag; in Siul2_Icu_Ip_GetInputState() local
381 flag = (Siul2_Icu_Ip_pBase[instance])->DISR0 & ((uint32)1U << hwChannel); in Siul2_Icu_Ip_GetInputState()
385 if ( (0x0U != flag) && (0x0U == irqEnable) ) in Siul2_Icu_Ip_GetInputState()
388 (Siul2_Icu_Ip_pBase[instance])->DISR0 = flag; in Siul2_Icu_Ip_GetInputState()
/hal_nxp-3.5.0/s32/drivers/s32k3/Icu/src/
DSiul2_Icu_Ip.c406 uint32 flag; in Siul2_Icu_Ip_GetInputState() local
415 flag = (Siul2_Icu_Ip_pBase[instance])->DISR0 & ((uint32)1U << hwChannel); in Siul2_Icu_Ip_GetInputState()
419 if ( (0x0U != flag) && (0x0U == irqEnable) ) in Siul2_Icu_Ip_GetInputState()
422 (Siul2_Icu_Ip_pBase[instance])->DISR0 = flag; in Siul2_Icu_Ip_GetInputState()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c1960 enet_desc_flag_t flag, in ENET_SetupTxDescriptor() argument
1965 if ((flag == kENET_FirstFlagOnly) || (flag == kENET_FirstLastFlag)) in ENET_SetupTxDescriptor()
1991 …= ENET_TXDESCRIP_RD_SLOT(slotNum) | ENET_TXDESCRIP_RD_FL(framelen) | ENET_TXDESCRIP_RD_LDFD(flag) | in ENET_SetupTxDescriptor()
2016 if ((config->flag == kENET_FirstFlagOnly) || (config->flag == kENET_FirstLastFlag)) in ENET_ConfigTxDescriptor()
2044 …ENET_TXDESCRIP_RD_CIC(txOffloadMode) | ENET_TXDESCRIP_RD_LDFD(config->flag) | ENET_TXDESCRIP_RD_OW… in ENET_ConfigTxDescriptor()
2203 txDescConfig.flag = descFlag; in ENET_SendFrame()
2360 uint32_t flag = base->DMA_CH[0].DMA_CHX_STAT; in ENET_IRQHandler() local
2361 if ((flag & ENET_DMA_CH_DMA_CHX_STAT_RI_MASK) != 0U) in ENET_IRQHandler()
2369 if ((flag & ENET_DMA_CH_DMA_CHX_STAT_TI_MASK) != 0U) in ENET_IRQHandler()
2379 uint32_t flag = base->DMA_CH[1].DMA_CHX_STAT; in ENET_IRQHandler() local
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/boardkit/frdm-k32w042/
Dboard.h105 #define BOARD_USDHC_CD_CLEAR_INTERRUPT(flag) (GPIO_ClearPinsInterruptFlags(BOARD_USDHC_CD_GPIO_BASE… argument
/hal_nxp-3.5.0/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_lpc_gpio.c64 #define HAL_GPIO_INPUTMUX_GET_PIN(flag) ((flag)&0x1FU) argument
65 #define HAL_GPIO_INPUTMUX_GET_PORT(flag) ((flag) >> 5U) argument
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/driverexamples/demos/
Dfxls8962_demo.c380 int flag=0; in main() local
597 flag=1; in main()
655 if(flag==1) /*Reset Self-Test Values */ in main()
660 flag=0; in main()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE16F16/utilities/
Dfsl_shell.c557 uint8_t flag = 1;
581 flag = 0;
585 flag = 0;
591 flag = 0;
596 flag = 1;
609 if ((tmpCommand != NULL) && (flag == 1U))
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV56F24/utilities/
Dfsl_shell.c557 uint8_t flag = 1;
581 flag = 0;
585 flag = 0;
591 flag = 0;
596 flag = 1;
609 if ((tmpCommand != NULL) && (flag == 1U))

1234567