/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc.h | 37 #define ASRC_ASRCTR_AT_MASK(index) ((uint32_t)1U << (ASRC_ASRCTR_ATSA_SHIFT + (uint32_t)(index))) argument 38 #define ASRC_ASRCTR_RATIO_MASK(index) ((uint32_t)3U << (ASRC_ASRCTR_IDRA_SHIFT + (uint32_t)(index)*… argument 39 #define ASRC_ASRCTR_RATIO(ratio, index) \ argument 40 …nt32_t)(ratio) << (ASRC_ASRCTR_IDRA_SHIFT + (uint32_t)(index)*2U))) & ASRC_ASRCTR_RATIO_MASK(index… 41 #define ASRC_ASRIER_INPUT_INTERRUPT_MASK(index) ((uint32_t)1U << (ASRC_ASRIER_ADIEA_SHIFT + (ui… argument 42 …efine ASRC_ASRIER_OUTPUTPUT_INTERRUPT_MASK(index) ((uint32_t)1U << (ASRC_ASRIER_ADOEA_SHIFT + (uin… argument 43 …efine ASRC_ASRCNCR_CHANNEL_COUNTER_MASK(index) ((uint32_t)0xFU << (ASRC_ASRCNCR_ANCA_SHIFT + (u… argument 44 #define ASRC_ASRCNCR_CHANNEL_COUNTER(counter, index) \ argument 45 ((uint32_t)((uint32_t)(counter) << (ASRC_ASRCNCR_ANCA_SHIFT + (uint32_t)(index)*4U)) & \ 46 ASRC_ASRCNCR_CHANNEL_COUNTER_MASK(index)) [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/ |
D | fsl_flexio.c | 173 …FLEXIO_GetShifterBufferAddress(FLEXIO_Type *base, flexio_shifter_buffer_type_t type, uint8_t index) in FLEXIO_GetShifterBufferAddress() argument 175 assert(index < FLEXIO_SHIFTBUF_COUNT); in FLEXIO_GetShifterBufferAddress() 182 address = (uint32_t) & (base->SHIFTBUF[index]); in FLEXIO_GetShifterBufferAddress() 186 address = (uint32_t) & (base->SHIFTBUFBIS[index]); in FLEXIO_GetShifterBufferAddress() 190 address = (uint32_t) & (base->SHIFTBUFBYS[index]); in FLEXIO_GetShifterBufferAddress() 194 address = (uint32_t) & (base->SHIFTBUFBBS[index]); in FLEXIO_GetShifterBufferAddress() 199 address = (uint32_t) & (base->SHIFTBUFNBS[index]); in FLEXIO_GetShifterBufferAddress() 205 address = (uint32_t) & (base->SHIFTBUFHWS[index]); in FLEXIO_GetShifterBufferAddress() 211 address = (uint32_t) & (base->SHIFTBUFNIS[index]); in FLEXIO_GetShifterBufferAddress() 216 address = (uint32_t) & (base->SHIFTBUF[index]); in FLEXIO_GetShifterBufferAddress() [all …]
|
/hal_nxp-3.5.0/imx/drivers/ |
D | rdc_semaphore.c | 65 uint32_t index = pdap; in RDC_SEMAPHORE_TryLock() local 67 semaphore = RDC_SEMAPHORE_GetGate(&index); in RDC_SEMAPHORE_TryLock() 69 semaphore->GATE[index] = RDC_SEMAPHORE_GATE_GTFSM(RDC_SEMAPHORE_MASTER_SELF + 1); in RDC_SEMAPHORE_TryLock() 71 return ((semaphore->GATE[index] & RDC_SEMAPHORE_GATE_GTFSM_MASK) == in RDC_SEMAPHORE_TryLock() 86 uint32_t index = pdap; in RDC_SEMAPHORE_Lock() local 88 semaphore = RDC_SEMAPHORE_GetGate(&index); in RDC_SEMAPHORE_Lock() 92 while (semaphore->GATE[index] & RDC_SEMAPHORE_GATE_GTFSM_MASK) { } in RDC_SEMAPHORE_Lock() 93 semaphore->GATE[index] = RDC_SEMAPHORE_GATE_GTFSM(RDC_SEMAPHORE_MASTER_SELF + 1); in RDC_SEMAPHORE_Lock() 94 } while ((semaphore->GATE[index] & RDC_SEMAPHORE_GATE_GTFSM_MASK) != in RDC_SEMAPHORE_Lock() 107 uint32_t index = pdap; in RDC_SEMAPHORE_Unlock() local [all …]
|
D | mu_imx.h | 193 static inline bool MU_IsTxEmpty(MU_Type * base, uint32_t index) in MU_IsTxEmpty() argument 195 return (bool)(base->SR & (MU_SR_TE0_MASK >> index)); in MU_IsTxEmpty() 212 static inline void MU_EnableTxEmptyInt(MU_Type * base, uint32_t index) in MU_EnableTxEmptyInt() argument 215 | (MU_CR_TIE0_MASK>>index); // Set TIEn in MU_EnableTxEmptyInt() 232 static inline void MU_DisableTxEmptyInt(MU_Type * base, uint32_t index) in MU_DisableTxEmptyInt() argument 234 base->CR &= ~(MU_CR_GIRn_MASK | (MU_CR_TIE0_MASK>>index)); // Clear GIRn , clear TIEn in MU_DisableTxEmptyInt() 279 static inline bool MU_IsRxFull(MU_Type * base, uint32_t index) in MU_IsRxFull() argument 281 return (bool)(base->SR & (MU_SR_RF0_MASK >> index)); in MU_IsRxFull() 298 static inline void MU_EnableRxFullInt(MU_Type * base, uint32_t index) in MU_EnableRxFullInt() argument 301 | (MU_CR_RIE0_MASK>>index); // Set RIEn in MU_EnableRxFullInt() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Driver/VIO/Source/ |
D | vio_memory.c | 111 uint32_t index = id; in vioSetValue() local 113 if (index >= VIO_VALUE_NUM) { in vioSetValue() 117 vioValue[index] = value; in vioSetValue() 122 uint32_t index = id; in vioGetValue() local 125 if (index >= VIO_VALUE_NUM) { in vioGetValue() 129 value = vioValue[index]; in vioGetValue() 136 uint32_t index = id; in vioSetXYZ() local 138 if (index >= VIO_VALUEXYZ_NUM) { in vioSetXYZ() 142 vioValueXYZ[index] = valueXYZ; in vioSetXYZ() 147 uint32_t index = id; in vioGetXYZ() local [all …]
|
D | vio.c | 164 uint32_t index = id; in vioSetValue() local 170 if (index >= VIO_VALUE_NUM) { in vioSetValue() 174 vioValue[index] = value; in vioSetValue() 184 uint32_t index = id; in vioGetValue() local 191 if (index >= VIO_VALUE_NUM) { in vioGetValue() 201 value = vioValue[index]; in vioGetValue() 208 uint32_t index = id; in vioSetXYZ() local 214 if (index >= VIO_VALUEXYZ_NUM) { in vioSetXYZ() 218 vioValueXYZ[index] = valueXYZ; in vioSetXYZ() 228 uint32_t index = id; in vioGetXYZ() local [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_gpio/ |
D | fsl_gpio.c | 153 void GPIO_PortEnableInterrupts(GPIO_Type *base, uint32_t port, uint32_t index, uint32_t mask) in GPIO_PortEnableInterrupts() argument 155 if ((uint32_t)kGPIO_InterruptA == index) in GPIO_PortEnableInterrupts() 159 else if ((uint32_t)kGPIO_InterruptB == index) in GPIO_PortEnableInterrupts() 177 void GPIO_PortDisableInterrupts(GPIO_Type *base, uint32_t port, uint32_t index, uint32_t mask) in GPIO_PortDisableInterrupts() argument 179 if ((uint32_t)kGPIO_InterruptA == index) in GPIO_PortDisableInterrupts() 183 else if ((uint32_t)kGPIO_InterruptB == index) in GPIO_PortDisableInterrupts() 202 void GPIO_PortClearInterruptFlags(GPIO_Type *base, uint32_t port, uint32_t index, uint32_t mask) in GPIO_PortClearInterruptFlags() argument 204 if ((uint32_t)kGPIO_InterruptA == index) in GPIO_PortClearInterruptFlags() 208 else if ((uint32_t)kGPIO_InterruptB == index) in GPIO_PortClearInterruptFlags() 226 uint32_t GPIO_PortGetInterruptStatus(GPIO_Type *base, uint32_t port, uint32_t index) in GPIO_PortGetInterruptStatus() argument [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/itrc/ |
D | fsl_itrc.c | 121 uint32_t sel0, sel1, index, select_AND_mask; in ITRC_SetActionToEvent() local 150 index = 2u * in; in ITRC_SetActionToEvent() 152 select_AND_mask = ~(b11 << index); in ITRC_SetActionToEvent() 155 if (index > 30u) in ITRC_SetActionToEvent() 163 base->OUT0_SEL0 = (base->OUT0_SEL0 & select_AND_mask) | (sel0 << index); in ITRC_SetActionToEvent() 164 base->OUT0_SEL1 |= sel1 << index; in ITRC_SetActionToEvent() 167 base->OUT1_SEL0 = (base->OUT1_SEL0 & select_AND_mask) | (sel0 << index); in ITRC_SetActionToEvent() 168 base->OUT1_SEL1 |= sel1 << index; in ITRC_SetActionToEvent() 172 base->OUT2_SEL0 = (base->OUT2_SEL0 & select_AND_mask) | (sel0 << index); in ITRC_SetActionToEvent() 173 base->OUT2_SEL1 |= sel1 << index; in ITRC_SetActionToEvent() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/pf3000/ |
D | fsl_pf3000.c | 176 uint32_t index; in PF3000_GetRegulatorSetPoint() local 197 index = PF3000_SW1A_SET_POINT_MAX_NUM; in PF3000_GetRegulatorSetPoint() 201 index = PF3000_SW1A_SET_POINT_MAX_NUM - 1U; in PF3000_GetRegulatorSetPoint() 205 for (index = PF3000_SW1A_SET_POINT_MAX_NUM - 2U; index > 0U; index--) in PF3000_GetRegulatorSetPoint() 207 … if ((PF3000_SW1A_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW1A_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 217 for (index = PF3000_SW1B_SET_POINT_MAX_NUM; index > 0U; index--) in PF3000_GetRegulatorSetPoint() 219 … if ((PF3000_SW1B_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW1B_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 236 for (index = PF3000_SW2_SET_POINT_MAX_NUM; index > 0U; index--) in PF3000_GetRegulatorSetPoint() 238 … if ((PF3000_SW2_OUTPUT_LIMIT_LOW_DVS + (PF3000_SW2_OUTPUT_STEP_DVS * index)) <= voltage) in PF3000_GetRegulatorSetPoint() 249 index = 0x7U; in PF3000_GetRegulatorSetPoint() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/ |
D | srtm_audio_service.c | 87 uint8_t index; member 104 …tic srtm_audio_iface_t SRTM_AudioService_FindInterface(srtm_audio_service_t handle, uint8_t index); 130 uint32_t index) in SRTM_AudioService_HandlePeriodDone() argument 134 uint32_t audioIdx = index >> 24U; in SRTM_AudioService_HandlePeriodDone() 135 uint32_t periodIdx = index & 0xFFFFFFU; in SRTM_AudioService_HandlePeriodDone() 155 payload->index = (uint8_t)audioIdx; in SRTM_AudioService_HandlePeriodDone() 177 uint8_t index, in SRTM_AudioService_PeriodDone() argument 181 srtm_audio_iface_t iface = SRTM_AudioService_FindInterface(handle, index); in SRTM_AudioService_PeriodDone() 210 … proc->procMsg.param2 = (void *)(uint8_t *)((((uint32_t)index) << 24U) | (periodIdx & 0xFFFFFFU)); in SRTM_AudioService_PeriodDone() 263 audioRespBuf[0] = (audioReq != NULL) ? audioReq->index : 0U; in SRTM_AudioService_Request() [all …]
|
D | srtm_audio_service.h | 90 …srtm_status_t (*periodDone)(srtm_service_t service, srtm_audio_dir_t dir, uint8_t index, uint32_t … 93 srtm_status_t (*open)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 94 srtm_status_t (*start)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 95 srtm_status_t (*pause)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 96 srtm_status_t (*restart)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 97 srtm_status_t (*stop)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 98 srtm_status_t (*close)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); 101 uint8_t index, 107 uint8_t index, 112 srtm_status_t (*suspend)(srtm_sai_adapter_t adapter, srtm_audio_dir_t dir, uint8_t index); [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/enet_qos/ |
D | fsl_enet_qos.c | 67 static uint16_t ENET_QOS_IncreaseIndex(uint16_t index, uint16_t max); 238 static uint16_t ENET_QOS_IncreaseIndex(uint16_t index, uint16_t max) in ENET_QOS_IncreaseIndex() argument 241 index++; in ENET_QOS_IncreaseIndex() 242 if (index >= max) in ENET_QOS_IncreaseIndex() 244 index = 0; in ENET_QOS_IncreaseIndex() 246 return index; in ENET_QOS_IncreaseIndex() 262 uint8_t index; in ENET_QOS_SetDMAControl() local 309 for (index = 0; index < ENET_QOS_RING_NUM_MAX; index++) in ENET_QOS_SetDMAControl() 316 base->DMA_CH[index].DMA_CHX_CTRL = burstLen & ENET_QOS_DMA_CHX_CTRL_PBLx8_MASK; in ENET_QOS_SetDMAControl() 318 reg = base->DMA_CH[index].DMA_CHX_TX_CTRL & ~ENET_QOS_DMA_CHX_TX_CTRL_TxPBL_MASK; in ENET_QOS_SetDMAControl() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_enet/ |
D | fsl_enet.c | 59 static uint16_t ENET_IncreaseIndex(uint16_t index, uint16_t max); 165 static uint16_t ENET_IncreaseIndex(uint16_t index, uint16_t max) in ENET_IncreaseIndex() argument 168 index++; in ENET_IncreaseIndex() 169 if (index >= max) in ENET_IncreaseIndex() 171 index = 0; in ENET_IncreaseIndex() 173 return index; in ENET_IncreaseIndex() 198 uint8_t index; in ENET_SetDMAControl() local 210 for (index = 0; index < ENET_RING_NUM_MAX; index++) in ENET_SetDMAControl() 217 base->DMA_CH[index].DMA_CHX_CTRL = burstLen & ENET_DMA_CH_DMA_CHX_CTRL_PBLx8_MASK; in ENET_SetDMAControl() 219 reg = base->DMA_CH[index].DMA_CHX_TX_CTRL & ~ENET_DMA_CH_DMA_CHX_TX_CTRL_TxPBL_MASK; in ENET_SetDMAControl() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClEcc/src/ |
D | mcuxClEcc_Internal_PointMult.c | 41 uint32_t index = scalarBitLen; in MCUX_CSSL_FP_PROTECTED_TYPE() local 49 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() 50 scalarWord = pScalar[index / 32u]; in MCUX_CSSL_FP_PROTECTED_TYPE() 51 scalarBits = (scalarWord >> (index & 31u)) & 0x3u; in MCUX_CSSL_FP_PROTECTED_TYPE() 65 if (0u == index) in MCUX_CSSL_FP_PROTECTED_TYPE() 87 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() 89 scalarWord = pScalar[index / 32u]; in MCUX_CSSL_FP_PROTECTED_TYPE() 90 scalarBits = (scalarWord >> (index & 31u)) & 0x3u; in MCUX_CSSL_FP_PROTECTED_TYPE() 108 while (0u != index) in MCUX_CSSL_FP_PROTECTED_TYPE() 110 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() [all …]
|
D | mcuxClEcc_Internal_NIST.c | 81 uint32_t index = scalarBitLen; in MCUX_CSSL_FP_PROTECTED_TYPE() local 89 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() 90 scalarWord = pScalar[index / 32u]; in MCUX_CSSL_FP_PROTECTED_TYPE() 91 scalarBits = (scalarWord >> (index & 31u)) & 0x3u; in MCUX_CSSL_FP_PROTECTED_TYPE() 105 if (0u == index) in MCUX_CSSL_FP_PROTECTED_TYPE() 127 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() 129 scalarWord = pScalar[index / 32u]; in MCUX_CSSL_FP_PROTECTED_TYPE() 130 scalarBits = (scalarWord >> (index & 31u)) & 0x3u; in MCUX_CSSL_FP_PROTECTED_TYPE() 148 while (0u != index) in MCUX_CSSL_FP_PROTECTED_TYPE() 150 index -= 2u; in MCUX_CSSL_FP_PROTECTED_TYPE() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/device/ |
D | usb_device_khci.c | 111 uint32_t index = ((uint32_t)endpoint << 1U) | (uint32_t)direction; local 118 khciState->endpointState[index].stateUnion.stateBitField.transferring = 1U; 122 … khciState->endpointState[index].stateUnion.stateBitField.bdtOdd, (uint32_t)buffer); 126 …(uint32_t)khciState->bdt, endpoint, direction, khciState->endpointState[index].stateUnion.stateBit… 128 … USB_KHCI_BDT_DATA01(khciState->endpointState[index].stateUnion.stateBitField.data0))); 277 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointInit() local 297 khciState->endpointState[index].stateUnion.stateBitField.transferring = 0U; in USB_DeviceKhciEndpointInit() 299 khciState->endpointState[index].stateUnion.stateBitField.maxPacketSize = maxPacketSize; in USB_DeviceKhciEndpointInit() 301 khciState->endpointState[index].stateUnion.stateBitField.data0 = 0U; in USB_DeviceKhciEndpointInit() 303 khciState->endpointState[index].stateUnion.stateBitField.stalled = 0U; in USB_DeviceKhciEndpointInit() [all …]
|
D | usb_device_ehci.c | 224 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | direction; in USB_DeviceEhciEndpointInit() local 249 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.mult = in USB_DeviceEhciEndpointInit() 255 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.mult = 0U; in USB_DeviceEhciEndpointInit() 259 …ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.maxPacketS… in USB_DeviceEhciEndpointInit() 261 ehciState->qh[index].endpointStatusUnion.endpointStatusBitmap.zlt = epInit->zlt; in USB_DeviceEhciEndpointInit() 265 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.zlt = 1U; in USB_DeviceEhciEndpointInit() 270 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.zlt = in USB_DeviceEhciEndpointInit() 277 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.ios = 1U; in USB_DeviceEhciEndpointInit() 285 … ehciState->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.ios = 0U; in USB_DeviceEhciEndpointInit() 292 ehciState->qh[index].endpointStatusUnion.endpointStatusBitmap.isOpened = 1U; in USB_DeviceEhciEndpointInit() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/ |
D | usb_host_ehci.c | 735 uint8_t index; in USB_HostEhciSingleStepQtdListInit() local 777 for (index = 0; index < 4; ++index) in USB_HostEhciSingleStepQtdListInit() 779 … qtdPointer->bufferPointers[index] = ((dataAddress + (index + 1) * 4 * 1024) & 0xFFFFF000); in USB_HostEhciSingleStepQtdListInit() 798 for (index = 0; index < 4; ++index) in USB_HostEhciSingleStepQtdListInit() 800 … qtdPointer->bufferPointers[index] = ((dataAddress + (index + 1) * 4 * 1024) & 0xFFFFF000); in USB_HostEhciSingleStepQtdListInit() 1095 uint8_t index; in USB_HostBandwidthHsHostComputeCurrentFsls() local 1099 for (index = 0; index < 8U; ++index) in USB_HostBandwidthHsHostComputeCurrentFsls() 1101 frameBandwidths[index] = 0; in USB_HostBandwidthHsHostComputeCurrentFsls() 1152 for (index = 0; index < 7U; ++index) /* */ in USB_HostBandwidthHsHostComputeCurrentFsls() 1154 if (frameBandwidths[index] > s_SlotMaxBandwidth[index]) in USB_HostBandwidthHsHostComputeCurrentFsls() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ctimer/ |
D | fsl_ctimer.c | 33 static void CTIMER_GenericIRQHandler(uint32_t index); 129 uint32_t index = CTIMER_GetInstance(base); in CTIMER_Deinit() local 135 CLOCK_DisableClock(s_ctimerClocks[index]); in CTIMER_Deinit() 139 (void)DisableIRQ(s_ctimerIRQ[index]); in CTIMER_Deinit() 203 uint32_t index = CTIMER_GetInstance(base); in CTIMER_SetupPwm() local 253 (void)EnableIRQ(s_ctimerIRQ[index]); in CTIMER_SetupPwm() 293 uint32_t index = CTIMER_GetInstance(base); in CTIMER_SetupPwmPeriod() local 330 (void)EnableIRQ(s_ctimerIRQ[index]); in CTIMER_SetupPwmPeriod() 387 uint32_t index = CTIMER_GetInstance(base); in CTIMER_SetupMatch() local 416 (void)EnableIRQ(s_ctimerIRQ[index]); in CTIMER_SetupMatch() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/dcd/ |
D | usb_phydcd.c | 38 uint8_t index; /*!< analog instance index*/ member 56 usb_phydcd_status_t USB_PHYDCD_Init(uint8_t index, usb_phydcd_config_struct_t *config, usb_phydcd_h… in USB_PHYDCD_Init() argument 74 dcdState = &s_UsbDeviceDcdHSState[index]; in USB_PHYDCD_Init() 75 dcdState->index = index; in USB_PHYDCD_Init() 76 temp = (uint32_t *)phyBase[index]; in USB_PHYDCD_Init() 92 dcdState->index = 0U; in USB_PHYDCD_Deinit() 163 …dcdState->usbAnalogBase->INSTANCE[dcdState->index].CHRG_DETECT_CLR |= USB_ANALOG_CHRG_DETECT_CLR_E… in USB_PHYDCD_TimerIsrFunction() 164 dcdState->usbAnalogBase->INSTANCE[dcdState->index].CHRG_DETECT_SET |= in USB_PHYDCD_TimerIsrFunction() 171 if (0U != (dcdState->usbAnalogBase->INSTANCE[dcdState->index].CHRG_DETECT_STAT & in USB_PHYDCD_TimerIsrFunction() 178 dcdState->usbAnalogBase->INSTANCE[dcdState->index].CHRG_DETECT_CLR |= in USB_PHYDCD_TimerIsrFunction() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dac32/ |
D | fsl_dac32.c | 191 void DAC32_SetBufferValue(DAC_Type *base, uint32_t index, uint32_t value) in DAC32_SetBufferValue() argument 193 assert(index < (DAC_DAT_COUNT * 2U)); in DAC32_SetBufferValue() 195 if (0U == (index % 2U)) in DAC32_SetBufferValue() 197 index = index / 2U; /* Register index. */ in DAC32_SetBufferValue() 198 base->DAT[index] = (base->DAT[index] & ~(DAC_DAT_DATA0_MASK)) | DAC_DAT_DATA0(value); in DAC32_SetBufferValue() 202 index = index / 2U; /* Register index. */ in DAC32_SetBufferValue() 203 base->DAT[index] = (base->DAT[index] & ~(DAC_DAT_DATA1_MASK)) | DAC_DAT_DATA1(value); in DAC32_SetBufferValue()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/drivers/host/ |
D | data_format_hdlc.c | 105 size_t index = 0; in HDLC_Process_Tx_Msg() local 113 pMsg[index++] = 0x7E; /* Add the Start marker. */ in HDLC_Process_Tx_Msg() 119 pMsg[index++] = 0x7D; in HDLC_Process_Tx_Msg() 120 pMsg[index++] = 0x5D; in HDLC_Process_Tx_Msg() 123 pMsg[index++] = 0x7D; in HDLC_Process_Tx_Msg() 124 pMsg[index++] = 0x5E; in HDLC_Process_Tx_Msg() 127 pMsg[index++] = pBuffer[offset]; in HDLC_Process_Tx_Msg() 130 pMsg[index++] = 0x7E; /* Add the Stop marker. */ in HDLC_Process_Tx_Msg() 132 return index; in HDLC_Process_Tx_Msg()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/ |
D | utils.h | 58 uint32_t index, i; in arm_recip_q31() local 74 index = (uint32_t)(in >> 24); in arm_recip_q31() 75 index = (index & INDEX_MASK); in arm_recip_q31() 78 out = pRecipTable[index]; in arm_recip_q31() 109 uint32_t index = 0, i = 0; in arm_recip_q15() local 125 index = (uint32_t)(in >> 8); in arm_recip_q15() 126 index = (index & INDEX_MASK); in arm_recip_q15() 129 out = pRecipTable[index]; in arm_recip_q15()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/FastMathFunctions/ |
D | arm_sin_f32.c | 75 uint16_t index; /* Index variable */ in arm_sin_f32() local 98 index = (uint16_t)findex; in arm_sin_f32() 101 if (index >= FAST_MATH_TABLE_SIZE) { in arm_sin_f32() 102 index = 0; in arm_sin_f32() 107 fract = findex - (float32_t) index; in arm_sin_f32() 110 a = sinTable_f32[index]; in arm_sin_f32() 111 b = sinTable_f32[index+1]; in arm_sin_f32()
|
D | arm_cos_f32.c | 74 uint16_t index; /* Index variable */ in arm_cos_f32() local 97 index = (uint16_t)findex; in arm_cos_f32() 100 if (index >= FAST_MATH_TABLE_SIZE) { in arm_cos_f32() 101 index = 0; in arm_cos_f32() 106 fract = findex - (float32_t) index; in arm_cos_f32() 109 a = sinTable_f32[index]; in arm_cos_f32() 110 b = sinTable_f32[index+1]; in arm_cos_f32()
|