DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

SI4010-C2-GS View Datasheet(PDF) - Silicon Laboratories

Part Name
Description
Manufacturer
SI4010-C2-GS
Silabs
Silicon Laboratories 
SI4010-C2-GS Datasheet PDF : 156 Pages
First Prev 111 112 113 114 115 116 117 118 119 120 Next Last
Si4010-C2
In assembly:
orl P0,
#00001110B
; Turn GPIO[3:1] as inputs
anl P0CON,
#NOT 00001110B
anl PORT_CTRL, #NOT(M_PORT_MATRIX OR M_PORT_ROFF)
orl PORT_CTRL, #M_PORT_MATRIX ; Set Matrix mode and keep resistors
orl PORT_CTRL, #M_PORT_STROBE ; Strobe new Matrix/Roff modes to GPIO
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.
Rev. 1.0
115

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]