Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 30) sorted by relevance

12

/hal_ti-2.7.6/simplelink/source/ti/devices/msp432p4xx/driverlib/
Dspi.c374 void SPI_enableInterrupt(uint32_t moduleInstance, uint_fast8_t mask) in SPI_enableInterrupt() argument
378 EUSCI_A_SPI_enableInterrupt(moduleInstance, mask); in SPI_enableInterrupt()
381 EUSCI_B_SPI_enableInterrupt(moduleInstance, mask); in SPI_enableInterrupt()
386 void SPI_disableInterrupt(uint32_t moduleInstance, uint_fast8_t mask) in SPI_disableInterrupt() argument
390 EUSCI_A_SPI_disableInterrupt(moduleInstance, mask); in SPI_disableInterrupt()
393 EUSCI_B_SPI_disableInterrupt(moduleInstance, mask); in SPI_disableInterrupt()
398 uint_fast8_t SPI_getInterruptStatus(uint32_t moduleInstance, uint16_t mask) in SPI_getInterruptStatus() argument
402 return EUSCI_A_SPI_getInterruptStatus(moduleInstance, mask); in SPI_getInterruptStatus()
405 return EUSCI_B_SPI_getInterruptStatus(moduleInstance, mask); in SPI_getInterruptStatus()
427 void SPI_clearInterruptFlag(uint32_t moduleInstance, uint_fast8_t mask) in SPI_clearInterruptFlag() argument
[all …]
Duart.c150 uint_fast8_t UART_queryStatusFlags(uint32_t moduleInstance, uint_fast8_t mask) in UART_queryStatusFlags() argument
153 0x00 != mask in UART_queryStatusFlags()
162 return EUSCI_A_CMSIS(moduleInstance)->STATW & mask; in UART_queryStatusFlags()
228 void UART_enableInterrupt(uint32_t moduleInstance, uint_fast8_t mask) in UART_enableInterrupt() argument
233 !(mask in UART_enableInterrupt()
241 locMask = (mask in UART_enableInterrupt()
248 locMask = (mask in UART_enableInterrupt()
254 void UART_disableInterrupt(uint32_t moduleInstance, uint_fast8_t mask) in UART_disableInterrupt() argument
259 !(mask in UART_disableInterrupt()
267 locMask = (mask in UART_disableInterrupt()
[all …]
Dspi.h525 extern void SPI_enableInterrupt(uint32_t moduleInstance, uint_fast8_t mask);
558 extern void SPI_disableInterrupt(uint32_t moduleInstance, uint_fast8_t mask);
587 uint16_t mask);
642 extern void SPI_clearInterruptFlag(uint32_t moduleInstance, uint_fast8_t mask);
766 extern void EUSCI_A_SPI_enableInterrupt(uint32_t baseAddress, uint8_t mask);
767 extern void EUSCI_A_SPI_disableInterrupt(uint32_t baseAddress, uint8_t mask);
769 uint8_t mask);
770 extern void EUSCI_A_SPI_clearInterruptFlag(uint32_t baseAddress, uint8_t mask);
788 extern void EUSCI_B_SPI_enableInterrupt(uint32_t baseAddress, uint8_t mask);
789 extern void EUSCI_B_SPI_disableInterrupt(uint32_t baseAddress, uint8_t mask);
[all …]
Dreset.c50 void ResetCtl_clearSoftResetSource(uint32_t mask) in ResetCtl_clearSoftResetSource() argument
52 RSTCTL->SOFTRESET_CLR |= mask; in ResetCtl_clearSoftResetSource()
70 void ResetCtl_clearHardResetSource(uint32_t mask) in ResetCtl_clearHardResetSource() argument
72 RSTCTL->HARDRESET_CLR |= mask; in ResetCtl_clearHardResetSource()
Duart.h339 uint_fast8_t mask);
547 extern void UART_enableInterrupt(uint32_t moduleInstance, uint_fast8_t mask);
581 extern void UART_disableInterrupt(uint32_t moduleInstance, uint_fast8_t mask);
610 uint8_t mask);
664 extern void UART_clearInterruptFlag(uint32_t moduleInstance, uint_fast8_t mask);
Dlcd_f.c225 void LCD_F_clearInterrupt(uint32_t mask) in LCD_F_clearInterrupt() argument
227 LCD_F->CLRIFG |= mask; in LCD_F_clearInterrupt()
240 void LCD_F_enableInterrupt(uint32_t mask) in LCD_F_enableInterrupt() argument
242 LCD_F->IE |= mask; in LCD_F_enableInterrupt()
245 void LCD_F_disableInterrupt(uint32_t mask) in LCD_F_disableInterrupt() argument
247 LCD_F->IE &= ~mask; in LCD_F_disableInterrupt()
Di2c.c622 void I2C_enableInterrupt(uint32_t moduleInstance, uint_fast16_t mask) in I2C_enableInterrupt() argument
626 == (mask in I2C_enableInterrupt()
644 EUSCI_B_CMSIS(moduleInstance)->IE |= mask; in I2C_enableInterrupt()
647 void I2C_disableInterrupt(uint32_t moduleInstance, uint_fast16_t mask) in I2C_disableInterrupt() argument
651 == (mask in I2C_disableInterrupt()
669 EUSCI_B_CMSIS(moduleInstance)->IE &= ~(mask); in I2C_disableInterrupt()
672 void I2C_clearInterruptFlag(uint32_t moduleInstance, uint_fast16_t mask) in I2C_clearInterruptFlag() argument
676 == (mask in I2C_clearInterruptFlag()
693 EUSCI_B_CMSIS(moduleInstance)->IFG &= ~(mask); in I2C_clearInterruptFlag()
696 uint_fast16_t I2C_getInterruptStatus(uint32_t moduleInstance, uint16_t mask) in I2C_getInterruptStatus() argument
[all …]
Dcomp_e.c233 void COMP_E_enableInterrupt(uint32_t comparator, uint_fast16_t mask) in COMP_E_enableInterrupt() argument
236 COMP_E_CMSIS(comparator)->INT |= mask; in COMP_E_enableInterrupt()
245 void COMP_E_disableInterrupt(uint32_t comparator, uint_fast16_t mask) in COMP_E_disableInterrupt() argument
247 COMP_E_CMSIS(comparator)->INT &= ~(mask); in COMP_E_disableInterrupt()
250 void COMP_E_clearInterruptFlag(uint32_t comparator, uint_fast16_t mask) in COMP_E_clearInterruptFlag() argument
252 COMP_E_CMSIS(comparator)->INT &= ~(mask); in COMP_E_clearInterruptFlag()
Dadc14.c684 void ADC14_enableInterrupt(uint_fast64_t mask) in ADC14_enableInterrupt() argument
686 uint32_t stat = mask & 0xFFFFFFFF; in ADC14_enableInterrupt()
689 stat = (mask >> 32); in ADC14_enableInterrupt()
693 void ADC14_disableInterrupt(uint_fast64_t mask) in ADC14_disableInterrupt() argument
695 uint32_t stat = mask & 0xFFFFFFFF; in ADC14_disableInterrupt()
698 stat = (mask >> 32); in ADC14_disableInterrupt()
716 void ADC14_clearInterruptFlag(uint_fast64_t mask) in ADC14_clearInterruptFlag() argument
718 uint32_t stat = mask & 0xFFFFFFFF; in ADC14_clearInterruptFlag()
721 stat = (mask >> 32); in ADC14_clearInterruptFlag()
Di2c.h1115 extern void I2C_enableInterrupt(uint32_t moduleInstance, uint_fast16_t mask);
1162 extern void I2C_disableInterrupt(uint32_t moduleInstance, uint_fast16_t mask);
1192 extern void I2C_clearInterruptFlag(uint32_t moduleInstance, uint_fast16_t mask);
1247 extern uint_fast16_t I2C_getInterruptStatus(uint32_t moduleInstance, uint16_t mask);
Dreset.h185 extern void ResetCtl_clearSoftResetSource(uint32_t mask);
276 extern void ResetCtl_clearHardResetSource(uint32_t mask);
Dcomp_e.h517 extern void COMP_E_enableInterrupt(uint32_t comparator, uint_fast16_t mask);
541 extern void COMP_E_disableInterrupt(uint32_t comparator, uint_fast16_t mask);
565 extern void COMP_E_clearInterruptFlag(uint32_t comparator, uint_fast16_t mask);
Drom.h195 ((void (*)(uint_fast64_t mask))ROM_ADC14TABLE[23])
200 ((void (*)(uint_fast64_t mask))ROM_ADC14TABLE[24])
215 ((void (*)(uint_fast64_t mask))ROM_ADC14TABLE[27])
414 uint_fast16_t mask))ROM_COMPTABLE[12])
420 uint_fast16_t mask))ROM_COMPTABLE[13])
426 uint_fast16_t mask))ROM_COMPTABLE[14])
1240 uint_fast16_t mask))ROM_I2CTABLE[33])
1246 uint_fast16_t mask))ROM_I2CTABLE[34])
1252 uint_fast16_t mask))ROM_I2CTABLE[35])
1258 uint16_t mask))ROM_I2CTABLE[36])
[all …]
Dlcd_f.h1080 extern void LCD_F_clearInterrupt(uint32_t mask);
1130 extern void LCD_F_enableInterrupt(uint32_t mask);
1149 extern void LCD_F_disableInterrupt(uint32_t mask);
Dadc14.h835 extern void ADC14_enableInterrupt(uint_fast64_t mask);
872 extern void ADC14_disableInterrupt(uint_fast64_t mask);
976 extern void ADC14_clearInterruptFlag(uint_fast64_t mask);
/hal_ti-2.7.6/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Drf_mailbox.h279 #define ADI_VAL_MASK(addr, mask, value) \ argument
280 (((addr) & 1) ? (((mask) & 0x0F) | (((value) & 0x0F) << 4)) : \
281 ((((mask) & 0x0F) << 4) | ((value) & 0x0F)))
292 #define ADI_HALFREG_OVERRIDE(adiNo, addr, mask, val) (2 | (ADI_VAL_MASK(addr, mask, val) << 16) | \ argument
295 #define ADI_2HALFREG_OVERRIDE(adiNo, addr, mask, val, addr2, mask2, val2) \ argument
297 (ADI_VAL_MASK(addr, mask, val) << 16) | (((addr) & 0x3F) << 24) | (1U << 30) | (((adiNo) ? 1U : 0) …
310 #define SW_REG_MASK_OVERRIDE(cmd, field, offset, mask, val) (0x8003 | \ argument
311 …#_##field + (offset)) << 4) | (((uint32_t)(val) & 0xFF) << 16) | (((uint32_t)(mask) & 0xFF) << 24))
318 #define HW16_MASK_VAL(mask, val) ((mask) << 16 | (val)) argument
353 #define ADI_ADDR_VAL_MASK(addr, mask, value) ((((addr) & 0x7F) << 8) | ADI_VAL_MASK(addr, mask, val… argument
Dsw_poly1305-donna-32.h144 unsigned long mask; in poly1305_finish() local
178 mask = (g4 >> ((sizeof(unsigned long) * 8) - 1)) - 1; in poly1305_finish()
179 g0 &= mask; in poly1305_finish()
180 g1 &= mask; in poly1305_finish()
181 g2 &= mask; in poly1305_finish()
182 g3 &= mask; in poly1305_finish()
183 g4 &= mask; in poly1305_finish()
184 mask = ~mask; in poly1305_finish()
185 h0 = (h0 & mask) | g0; in poly1305_finish()
186 h1 = (h1 & mask) | g1; in poly1305_finish()
[all …]
Dsha2.h639 uint32_t mask; in SHA2IntStatusMasked() local
642 mask = HWREG(CRYPTO_BASE + CRYPTO_O_IRQEN); in SHA2IntStatusMasked()
643 return(mask & HWREG(CRYPTO_BASE + CRYPTO_O_IRQSTAT)); in SHA2IntStatusMasked()
Daes.h665 uint32_t mask; in AESIntStatusMasked() local
668 mask = HWREG(CRYPTO_BASE + CRYPTO_O_IRQEN); in AESIntStatusMasked()
669 return(mask & HWREG(CRYPTO_BASE + CRYPTO_O_IRQSTAT)); in AESIntStatusMasked()
Drfc.c161 RFCOverrideSearch(const uint32_t *pOverride, const uint32_t pattern, const uint32_t mask, const uin… in RFCOverrideSearch() argument
168 if((pOverride[override_index] & mask) == pattern) in RFCOverrideSearch()
/hal_ti-2.7.6/simplelink/kernel/zephyr/dpl/
DSwiP_zephyr.c62 int mask = 1 << (NUMPRI - 1); in maxbit() local
65 while (mask) { in maxbit()
66 if (n & mask) { in maxbit()
70 mask >>= 1; in maxbit()
240 void SwiP_or(SwiP_Handle handle, uint32_t mask) in SwiP_or() argument
245 swi->trigger |= mask; in SwiP_or()
/hal_ti-2.7.6/simplelink/source/ti/drivers/dpl/
DSwiP.h203 extern void SwiP_andn(SwiP_Handle handle, uint32_t mask);
234 extern void SwiP_or(SwiP_Handle handle, uint32_t mask);
/hal_ti-2.7.6/simplelink/source/ti/drivers/timer/
DTimerCC32XX.c255 uint32_t mask; in TimerCC32XX_allocateTimerResource() local
266 mask = subTimer << timerMaskShift(baseAddress); in TimerCC32XX_allocateTimerResource()
270 if (timerState.bitMask & mask) { in TimerCC32XX_allocateTimerResource()
277 timerState.bitMask = timerState.bitMask | mask; in TimerCC32XX_allocateTimerResource()
331 uint32_t mask; in TimerCC32XX_freeTimerResource() local
333 mask = subTimer << timerMaskShift(baseAddress); in TimerCC32XX_freeTimerResource()
337 timerState.bitMask = (timerState.bitMask & ~mask); in TimerCC32XX_freeTimerResource()
/hal_ti-2.7.6/simplelink/source/ti/drivers/i2c/
DI2CCC32XX.c109 static void I2CCC32XX_updateReg(uint32_t reg, uint32_t mask, uint32_t val);
579 static void I2CCC32XX_updateReg(uint32_t reg, uint32_t mask, uint32_t val) in I2CCC32XX_updateReg() argument
581 uint32_t regL = HWREG(reg) & ~mask; in I2CCC32XX_updateReg()
582 HWREG(reg) = (regL | (val & mask)); in I2CCC32XX_updateReg()
/hal_ti-2.7.6/simplelink/source/ti/drivers/net/wifi/
Dwlan.h377 #define SL_WLAN_MASK_2_VAL(position,mask) (((1 << position) & (mask)) >> (position)) argument
404 #define SL_WLAN_POLICY_VAL_2_OPTIONS(position,mask,policy) ((mask & policy) << position ) argument

12