Home
last modified time | relevance | path

Searched refs:baseAddress (Results 1 – 6 of 6) sorted by relevance

/hal_ti-3.4.0/simplelink/source/ti/devices/msp432p4xx/driverlib/
Dgpio.c67 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsOutputPin() local
69 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsOutputPin()
70 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsOutputPin()
71 HWREG16(baseAddress + OFS_LIB_PADIR) |= selectedPins; in GPIO_setAsOutputPin()
77 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsInputPin() local
79 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsInputPin()
80 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsInputPin()
81 HWREG16(baseAddress + OFS_LIB_PADIR) &= ~selectedPins; in GPIO_setAsInputPin()
82 HWREG16(baseAddress + OFS_LIB_PAREN) &= ~selectedPins; in GPIO_setAsInputPin()
90 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsPeripheralModuleFunctionOutputPin() local
[all …]
Dspi.c558 void EUSCI_B_SPI_select4PinFunctionality(uint32_t baseAddress, in EUSCI_B_SPI_select4PinFunctionality() argument
567 EUSCI_B_CMSIS(baseAddress)->CTLW0 = (EUSCI_B_CMSIS(baseAddress)->CTLW0 in EUSCI_B_SPI_select4PinFunctionality()
585 void EUSCI_B_SPI_masterChangeClock(uint32_t baseAddress, in EUSCI_B_SPI_masterChangeClock() argument
589 BITBAND_PERI(EUSCI_B_CMSIS(baseAddress)->CTLW0, EUSCI_A_CTLW0_SWRST_OFS) = 1; in EUSCI_B_SPI_masterChangeClock()
591 EUSCI_B_CMSIS(baseAddress)->BRW = (uint16_t) (clockSourceFrequency in EUSCI_B_SPI_masterChangeClock()
595 BITBAND_PERI(EUSCI_B_CMSIS(baseAddress)->CTLW0, EUSCI_A_CTLW0_SWRST_OFS) = 0; in EUSCI_B_SPI_masterChangeClock()
633 bool EUSCI_B_SPI_slaveInit(uint32_t baseAddress, uint16_t msbFirst, in EUSCI_B_SPI_slaveInit() argument
657 BITBAND_PERI(EUSCI_B_CMSIS(baseAddress)->CTLW0, EUSCI_A_CTLW0_SWRST_OFS) = 1; in EUSCI_B_SPI_slaveInit()
660 EUSCI_B_CMSIS(baseAddress)->CTLW0 = (EUSCI_B_CMSIS(baseAddress)->CTLW0 in EUSCI_B_SPI_slaveInit()
689 void EUSCI_B_SPI_changeClockPhasePolarity(uint32_t baseAddress, in EUSCI_B_SPI_changeClockPhasePolarity() argument
[all …]
Dspi.h755 extern void EUSCI_A_SPI_select4PinFunctionality(uint32_t baseAddress,
757 extern void EUSCI_A_SPI_masterChangeClock(uint32_t baseAddress,
759 extern bool EUSCI_A_SPI_slaveInit(uint32_t baseAddress, uint16_t msbFirst,
761 extern void EUSCI_A_SPI_changeClockPhasePolarity(uint32_t baseAddress,
763 extern void EUSCI_A_SPI_transmitData(uint32_t baseAddress,
765 extern uint8_t EUSCI_A_SPI_receiveData(uint32_t baseAddress);
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);
768 extern uint8_t EUSCI_A_SPI_getInterruptStatus(uint32_t baseAddress,
770 extern void EUSCI_A_SPI_clearInterruptFlag(uint32_t baseAddress, uint8_t mask);
[all …]
/hal_ti-3.4.0/simplelink/source/ti/drivers/timer/
DTimerCC32XX.c62 #define timerMaskShift(baseAddress) ((((baseAddress) & 0XF000) >> 12) * 2) argument
77 static uint32_t getPowerMgrId(uint32_t baseAddress);
121 TimerDisable(hwAttrs->baseAddress, object->timer); in initHw()
125 HWREG(hwAttrs->baseAddress + TIMER_O_TAMR) = TIMER_TAMR_TAMR_PERIOD; in initHw()
129 HWREG(hwAttrs->baseAddress + TIMER_O_TBMR) = TIMER_TBMR_TBMR_PERIOD; in initHw()
134 HWREG(hwAttrs->baseAddress + TIMER_O_CFG) = TIMER_CFG_32_BIT_TIMER; in initHw()
138 HWREG(hwAttrs->baseAddress + TIMER_O_CFG) = TIMER_CFG_16_BIT; in initHw()
142 HWREG(hwAttrs->baseAddress + TIMER_O_IMR) = ~object->timer; in initHw()
145 TimerPrescaleSet(hwAttrs->baseAddress, object->timer, object->prescaler); in initHw()
146 TimerLoadSet(hwAttrs->baseAddress, object->timer, object->period); in initHw()
[all …]
DTimerCC32XX.h168 uint32_t baseAddress; member
214 extern bool TimerCC32XX_allocateTimerResource(uint32_t baseAddress,
235 extern void TimerCC32XX_freeTimerResource(uint32_t baseAddress,
/hal_ti-3.4.0/simplelink/source/ti/drivers/capture/
DCaptureCC32XX.c70 static uint32_t getPowerMgrId(uint32_t baseAddress);
96 uint32_t baseAddress = getTimerBaseAddress(hwAttrs->capturePin); in CaptureCC32XX_close() local
111 TimerCC32XX_freeTimerResource(baseAddress, subTimer); in CaptureCC32XX_close()
135 uint32_t baseAddress = getTimerBaseAddress(hwAttrs->capturePin); in CaptureCC32XX_hwiIntFunction() local
140 currentCount = TimerValueGet(baseAddress, object->timer); in CaptureCC32XX_hwiIntFunction()
164 TimerIntClear(baseAddress, interruptMask); in CaptureCC32XX_hwiIntFunction()
289 uint32_t baseAddress = getTimerBaseAddress(hwAttrs->capturePin); in CaptureCC32XX_start() local
309 TimerIntClear(baseAddress, interruptMask); in CaptureCC32XX_start()
310 TimerIntEnable(baseAddress, interruptMask); in CaptureCC32XX_start()
311 TimerValueSet(baseAddress, object->timer, 0); in CaptureCC32XX_start()
[all …]