Special Gpio Modes Control - Silicon Laboratories Si4010-C2 Manual

Crystal-less soc rf transmitter
Table of Contents

Advertisement

In assembly:
orl P0,
anl P0CON,
anl PORT_CTRL, #NOT(M_PORT_MATRIX OR M_PORT_ROFF)
orl PORT_CTRL, #M_PORT_MATRIX
orl PORT_CTRL, #M_PORT_STROBE
anl PORT_CTRL, #NOT(M_PORT_STROBE)

30.5. Special GPIO Modes Control

Some of the GPIO serves multiple purposes. Special configuration registers PORT_CTRL and PORT_SET
are used to configure GPIO for other purpose then regular GPIO. Some GPIO can server multiple special
purposes.
Table 30.4 shows all the functionality the GPIO can assume along with control signals and priority of the
functionality. The lower the priority number, the higher the functional priority. For example, if the functional-
ity with priority 1 is programmed, then controls selecting functionality of priority 2 and above will be ignored
no matter what the control settings are.
#00001110B
; Turn GPIO[3:1] as inputs
#NOT 00001110B
; Set Matrix mode and keep resistors
; Strobe new Matrix/Roff modes to GPIO
Rev. 1.0
Si4010-C2
115

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Si4010-C2 and is the answer not in the manual?

This manual is also suitable for:

Si4010-gtSi4010-gs

Table of Contents