Lines Matching refs:baseAddress
67 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
92 HWREG16(baseAddress + OFS_LIB_PADIR) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
96 HWREG16(baseAddress + OFS_LIB_PASEL0) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
97 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
100 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
101 HWREG16(baseAddress + OFS_LIB_PASEL1) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
104 HWREG16(baseAddress + OFS_LIB_PASEL0) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
105 HWREG16(baseAddress + OFS_LIB_PASEL1) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionOutputPin()
114 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsPeripheralModuleFunctionInputPin() local
116 HWREG16(baseAddress + OFS_LIB_PADIR) &= ~selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
120 HWREG16(baseAddress + OFS_LIB_PASEL0) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
121 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
124 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
125 HWREG16(baseAddress + OFS_LIB_PASEL1) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
128 HWREG16(baseAddress + OFS_LIB_PASEL0) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
129 HWREG16(baseAddress + OFS_LIB_PASEL1) |= selectedPins; in GPIO_setAsPeripheralModuleFunctionInputPin()
139 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setOutputHighOnPin() local
141 HWREG16(baseAddress + OFS_LIB_PAOUT) |= selectedPins; in GPIO_setOutputHighOnPin()
149 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setOutputLowOnPin() local
151 HWREG16(baseAddress + OFS_LIB_PAOUT) &= ~selectedPins; in GPIO_setOutputLowOnPin()
159 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_toggleOutputOnPin() local
161 HWREG16(baseAddress + OFS_LIB_PAOUT) ^= selectedPins; in GPIO_toggleOutputOnPin()
169 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsInputPinWithPullDownResistor() local
171 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsInputPinWithPullDownResistor()
172 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsInputPinWithPullDownResistor()
174 HWREG16(baseAddress + OFS_LIB_PADIR) &= ~selectedPins; in GPIO_setAsInputPinWithPullDownResistor()
175 HWREG16(baseAddress + OFS_LIB_PAREN) |= selectedPins; in GPIO_setAsInputPinWithPullDownResistor()
176 HWREG16(baseAddress + OFS_LIB_PAOUT) &= ~selectedPins; in GPIO_setAsInputPinWithPullDownResistor()
184 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_setAsInputPinWithPullUpResistor() local
186 HWREG16(baseAddress + OFS_LIB_PASEL0) &= ~selectedPins; in GPIO_setAsInputPinWithPullUpResistor()
187 HWREG16(baseAddress + OFS_LIB_PASEL1) &= ~selectedPins; in GPIO_setAsInputPinWithPullUpResistor()
188 HWREG16(baseAddress + OFS_LIB_PADIR) &= ~selectedPins; in GPIO_setAsInputPinWithPullUpResistor()
189 HWREG16(baseAddress + OFS_LIB_PAREN) |= selectedPins; in GPIO_setAsInputPinWithPullUpResistor()
190 HWREG16(baseAddress + OFS_LIB_PAOUT) |= selectedPins; in GPIO_setAsInputPinWithPullUpResistor()
198 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_getInputPinValue() local
200 inputPinValue = HWREG16(baseAddress + OFS_LIB_PAIN) & (selectedPins); in GPIO_getInputPinValue()
211 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_enableInterrupt() local
213 HWREG16(baseAddress + OFS_LIB_PAIE) |= selectedPins; in GPIO_enableInterrupt()
221 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_disableInterrupt() local
223 HWREG16(baseAddress + OFS_LIB_PAIE) &= ~selectedPins; in GPIO_disableInterrupt()
231 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_getInterruptStatus() local
233 return HWREG16(baseAddress + OFS_LIB_PAIFG) & selectedPins; in GPIO_getInterruptStatus()
241 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_clearInterruptFlag() local
244 HWREG16(baseAddress + OFS_LIB_PAIFG) &= ~selectedPins; in GPIO_clearInterruptFlag()
252 uint32_t baseAddress = GPIO_PORT_TO_BASE[selectedPort]; in GPIO_interruptEdgeSelect() local
256 HWREG16(baseAddress + OFS_LIB_PAIES) &= ~selectedPins; in GPIO_interruptEdgeSelect()
258 HWREG16(baseAddress + OFS_LIB_PAIES) |= selectedPins; in GPIO_interruptEdgeSelect()