Home
last modified time | relevance | path

Searched refs:base (Results 1 – 13 of 13) sorted by relevance

/hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/
Di2c.h141 static bool I2CBaseValid(uint32_t base) in I2CBaseValid() argument
143 return (base == I2C0_BASE); in I2CBaseValid()
165 extern void I2CControllerInitExpClk(uint32_t base, bool fast);
191 __STATIC_INLINE void I2CControllerCommand(uint32_t base, uint32_t cmd) in I2CControllerCommand() argument
194 ASSERT(I2CBaseValid(base)); in I2CControllerCommand()
203 HWREG(base + I2C_O_CCTL) = cmd; in I2CControllerCommand()
229 __STATIC_INLINE void I2CControllerSetTargetAddr(uint32_t base, uint8_t targetAddr, bool receive) in I2CControllerSetTargetAddr() argument
232 ASSERT(I2CBaseValid(base)); in I2CControllerSetTargetAddr()
236 HWREG(base + I2C_O_CTA) = (targetAddr << 1) | receive; in I2CControllerSetTargetAddr()
250 __STATIC_INLINE void I2CControllerEnable(uint32_t base) in I2CControllerEnable() argument
[all …]
Duart.h170 __STATIC_INLINE void UARTSetFifoLevel(uint32_t base, uint32_t txLevel, uint32_t rxLevel) in UARTSetFifoLevel() argument
177 HWREG(base + UART_O_IFLS) = txLevel | rxLevel; in UARTSetFifoLevel()
212 extern void UARTConfigSetExpClk(uint32_t base, uint32_t UARTClkFreq, uint32_t baudFreq, uint32_t co…
226 extern void UARTDisable(uint32_t base);
239 extern void UARTEnable(uint32_t base);
252 __STATIC_INLINE void UARTEnableFifo(uint32_t base) in UARTEnableFifo() argument
255 HWREG(base + UART_O_LCRH) |= UART_LCRH_FEN; in UARTEnableFifo()
269 __STATIC_INLINE void UARTDisableFIFO(uint32_t base) in UARTDisableFIFO() argument
272 HWREG(base + UART_O_LCRH) &= ~(UART_LCRH_FEN); in UARTDisableFIFO()
289 __STATIC_INLINE bool UARTCharAvailable(uint32_t base) in UARTCharAvailable() argument
[all …]
Dspi.h156 static bool SPIBaseValid(uint32_t base) in SPIBaseValid() argument
158 return (base == SPI0_BASE); in SPIBaseValid()
222 extern void SPIConfigSetExpClk(uint32_t base,
241 __STATIC_INLINE void SPIEnable(uint32_t base) in SPIEnable() argument
244 ASSERT(SPIBaseValid(base)); in SPIEnable()
247 HWREG(base + SPI_O_CTL1) |= SPI_CTL1_EN_EN; in SPIEnable()
261 __STATIC_INLINE void SPIDisable(uint32_t base) in SPIDisable() argument
264 ASSERT(SPIBaseValid(base)); in SPIDisable()
267 HWREG(base + SPI_O_CTL1) &= ~SPI_CTL1_EN_EN; in SPIDisable()
288 extern void SPIPutData(uint32_t base, uint32_t data);
[all …]
Duart.c43 void UARTConfigSetExpClk(uint32_t base, uint32_t UARTClkFreq, uint32_t baudFreq, uint32_t config) in UARTConfigSetExpClk() argument
51 UARTDisable(base); in UARTConfigSetExpClk()
57 HWREG(base + UART_O_IBRD) = div / 64; in UARTConfigSetExpClk()
58 HWREG(base + UART_O_FBRD) = div % 64; in UARTConfigSetExpClk()
61 HWREG(base + UART_O_LCRH) = config; in UARTConfigSetExpClk()
69 void UARTDisable(uint32_t base) in UARTDisable() argument
72 while (HWREG(base + UART_O_FR) & UART_FR_BUSY) {} in UARTDisable()
75 HWREG(base + UART_O_LCRH) &= ~(UART_LCRH_FEN); in UARTDisable()
78 HWREG(base + UART_O_CTL) &= ~(UART_CTL_UARTEN | UART_CTL_TXE | UART_CTL_RXE); in UARTDisable()
86 void UARTEnable(uint32_t base) in UARTEnable() argument
[all …]
Dspi.c96 void SPIConfigSetExpClk(uint32_t base, in SPIConfigSetExpClk() argument
105 ASSERT(SPIBaseValid(base)); in SPIConfigSetExpClk()
116 SPIConfig(base, spiClk, protocol, mode, bitRate, dataWidth, dsample); in SPIConfigSetExpClk()
124 int32_t SPIPutDataNonBlocking(uint32_t base, uint32_t data) in SPIPutDataNonBlocking() argument
126 ASSERT(SPIBaseValid(base)); in SPIPutDataNonBlocking()
129 if (HWREG(base + SPI_O_STA) & SPI_STA_TNF_NOT_FULL) in SPIPutDataNonBlocking()
132 HWREG(base + SPI_O_TXDATA) = data; in SPIPutDataNonBlocking()
146 void SPIPutData(uint32_t base, uint32_t data) in SPIPutData() argument
148 ASSERT(SPIBaseValid(base)); in SPIPutData()
151 while (!(HWREG(base + SPI_O_STA) & SPI_STA_TNF_NOT_FULL)) {} in SPIPutData()
[all …]
Dclkctl.h106 static bool CLKCTLBaseValid(uint32_t base) in CLKCTLBaseValid() argument
108 return (base == CLKCTL_BASE); in CLKCTLBaseValid()
137 __STATIC_INLINE void CLKCTLEnable(uint32_t base, uint32_t peripheral) in CLKCTLEnable() argument
140 ASSERT(CLKCTLBaseValid(base)); in CLKCTLEnable()
143 HWREG(base + CLKCTL_O_CLKENSET0) |= peripheral; in CLKCTLEnable()
171 __STATIC_INLINE void CLKCTLDisable(uint32_t base, uint32_t peripheral) in CLKCTLDisable() argument
174 ASSERT(CLKCTLBaseValid(base)); in CLKCTLDisable()
177 HWREG(base + CLKCTL_O_CLKENCLR0) |= peripheral; in CLKCTLDisable()
Di2c.c43 void I2CControllerInitExpClk(uint32_t base, bool fast) in I2CControllerInitExpClk() argument
49 ASSERT(I2CBaseValid(base)); in I2CControllerInitExpClk()
52 I2CControllerEnable(base); in I2CControllerInitExpClk()
69 HWREG(base + I2C_O_CTPR) = tpr; in I2CControllerInitExpClk()
77 uint32_t I2CControllerError(uint32_t base) in I2CControllerError() argument
82 ASSERT(I2CBaseValid(base)); in I2CControllerError()
85 err = HWREG(base + I2C_O_CSTA); in I2CControllerError()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/
DCryptoKeyKeyStore_PSA_ns.c66 invecs[0].base = &exportCommonMsg; in KeyStore_PSA_exportCommon()
69 outvecs[0].base = &ret; in KeyStore_PSA_exportCommon()
111 invecs[0].base = &destroyCommonMsg; in KeyStore_PSA_destroyCommon()
114 outvecs[0].base = &ret; in KeyStore_PSA_destroyCommon()
152 invecs[0].base = &importKeyMsg; in KeyStore_PSA_importKey()
155 outvecs[0].base = &ret; in KeyStore_PSA_importKey()
188 invecs[0].base = &getKeyAttributesMsg; in KeyStore_PSA_getKeyAttributes()
191 outvecs[0].base = &ret; in KeyStore_PSA_getKeyAttributes()
214 invecs[0].base = &resetKeyAttributeMsg; in KeyStore_PSA_resetKeyAttributes()
/hal_ti-latest/simplelink/source/ti/net/
Dslnetutils.c77 static int32_t SlNetUtil_UTOA(uint16_t value, char * string, uint16_t base);
914 static int32_t SlNetUtil_UTOA(uint16_t value, char * string, uint16_t base) in SlNetUtil_UTOA() argument
922 if ( (NULL == string) || ((base < 2 ) && (base > 16 )) ) in SlNetUtil_UTOA()
936 for (; (value && (Index > 0)); Index--, value /= base) in SlNetUtil_UTOA()
938 *ptempString = "0123456789abcdef"[value % base]; in SlNetUtil_UTOA()
1395 uint32_t base; in SlNetUtil_inetAton() local
1405 base = 10; in SlNetUtil_inetAton()
1409 base = 16; in SlNetUtil_inetAton()
1413 base = 8; in SlNetUtil_inetAton()
1424 val[sect] = (val[sect] * base) + (c - '0'); in SlNetUtil_inetAton()
[all …]
/hal_ti-latest/simplelink_lpf3/kernel/zephyr/dpl/
DTaskP_zephyr.c181 switch (((struct k_thread*) task)->base.thread_state) { in TaskP_getState()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/dma/
Ddma.ld11 * DMA channels must always be allocated at a fixed offset from the DMA base address.
/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Dpka.c1149 uint32_t PKABigNumExpModStart(const uint8_t *base, uint32_t baseLength, const uint8_t *exponent, ui… in PKABigNumExpModStart() argument
1154 ASSERT(base); in PKABigNumExpModStart()
1168 offset = PKAWritePkaParam(base, baseLength, offset, PKA_O_CPTR); in PKABigNumExpModStart()
Dpka.h946 extern uint32_t PKABigNumExpModStart(const uint8_t *base, uint32_t baseLength, const uint8_t *expon…