\n

GPIO0

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x28 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x0 Bytes (0x0)
size : 0x28 byte (0x0)
mem_usage : registers
protection :

Registers

GP0CON

GP0IN

GP0OUT

GP0SET

GP0CLR

GP0TGL

GP0OEN

GP0PUL

GP0OCE


GP0CON

GPIO Port 0 configuration
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0CON GP0CON read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CON0 CON1 CON2 CON3 CON4 CON5 CON6 CON7

CON0 : Configuration bits for P0.0
bits : 0 - 1 (2 bit)

Enumeration:

0 : GPIO

None

1 : SPI1MISO

None

End of enumeration elements list.

CON1 : Configuration bits for P0.1
bits : 2 - 3 (2 bit)

Enumeration:

0 : GPIO

None

1 : SPI1SCLK

None

2 : I2CSCL

None

3 : UARTRXD

None

End of enumeration elements list.

CON2 : Configuration bits for P0.2
bits : 4 - 5 (2 bit)

Enumeration:

0 : GPIO

None

1 : SPI1MOSI

None

2 : I2CSDA

None

3 : UARTTXD

None

End of enumeration elements list.

CON3 : Configuration bits for P0.3
bits : 6 - 7 (2 bit)

Enumeration:

0 : GPIOIRQ0

None

1 : SPI1CS0

None

End of enumeration elements list.

CON4 : Configuration bits for P0.4
bits : 8 - 9 (2 bit)

Enumeration:

0 : GPIO

None

1 : UARTRTS

None

2 : ECLKOUT

None

End of enumeration elements list.

CON5 : Configuration bits for P0.5
bits : 10 - 11 (2 bit)

Enumeration:

0 : GPIOIRQ1

None

1 : UARTCTS

None

End of enumeration elements list.

CON6 : Configuration bits for P0.6
bits : 12 - 13 (2 bit)

Enumeration:

0 : GPIOIRQ2

None

1 : UARTRXD

None

End of enumeration elements list.

CON7 : Configuration bits for P0.7
bits : 14 - 15 (2 bit)

Enumeration:

0 : PORB

None

1 : GPIO

None

2 : UARTTXD

None

End of enumeration elements list.


GP0IN

GPIO Port 0 data input.
address_offset : 0x14 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0IN GP0IN read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 IN0 IN1 IN2 IN3 IN4 IN5 IN6 IN7

IN0 : Input for port pin
bits : 0 - 0 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN1 : Input for port pin
bits : 1 - 1 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN2 : Input for port pin
bits : 2 - 2 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN3 : Input for port pin
bits : 3 - 3 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN4 : Input for port pin
bits : 4 - 4 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN5 : Input for port pin
bits : 5 - 5 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN6 : Input for port pin
bits : 6 - 6 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

IN7 : Input for port pin
bits : 7 - 7 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.


GP0OUT

GPIO Port 0 data out.
address_offset : 0x18 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0OUT GP0OUT read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7

OUT0 : Output for port pin
bits : 0 - 0 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT1 : Output for port pin
bits : 1 - 1 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT2 : Output for port pin
bits : 2 - 2 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT3 : Output for port pin
bits : 3 - 3 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT4 : Output for port pin
bits : 4 - 4 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT5 : Output for port pin
bits : 5 - 5 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT6 : Output for port pin
bits : 6 - 6 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.

OUT7 : Output for port pin
bits : 7 - 7 (1 bit)

Enumeration:

0 : LOW

None

1 : HIGH

None

End of enumeration elements list.


GP0SET

GPIO Port 0 data out set
address_offset : 0x1C Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0SET GP0SET read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 SET0 SET1 SET2 SET3 SET4 SET5 SET6 SET7

SET0 : Set Output High for port pin
bits : 0 - 0 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET1 : Set Output High for port pin
bits : 1 - 1 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET2 : Set Output High for port pin
bits : 2 - 2 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET3 : Set Output High for port pin
bits : 3 - 3 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET4 : Set Output High for port pin
bits : 4 - 4 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET5 : Set Output High for port pin
bits : 5 - 5 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET6 : Set Output High for port pin
bits : 6 - 6 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.

SET7 : Set Output High for port pin
bits : 7 - 7 (1 bit)

Enumeration:

1 : SET

None

End of enumeration elements list.


GP0CLR

GPIO Port 0 data out clear.
address_offset : 0x20 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0CLR GP0CLR read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 CLR0 CLR1 CLR2 CLR3 CLR4 CLR5 CLR6 CLR7

CLR0 : Set Output Low for port pin
bits : 0 - 0 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR1 : Set Output Low for port pin
bits : 1 - 1 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR2 : Set Output Low for port pin
bits : 2 - 2 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR3 : Set Output Low for port pin
bits : 3 - 3 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR4 : Set Output Low for port pin
bits : 4 - 4 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR5 : Set Output Low for port pin
bits : 5 - 5 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR6 : Set Output Low for port pin
bits : 6 - 6 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.

CLR7 : Set Output Low for port pin
bits : 7 - 7 (1 bit)

Enumeration:

1 : CLR

None

End of enumeration elements list.


GP0TGL

GPIO Port 0 pin toggle.
address_offset : 0x24 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0TGL GP0TGL read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 TGL0 TGL1 TGL2 TGL3 TGL4 TGL5 TGL6 TGL7

TGL0 : Toggle Output for port pin
bits : 0 - 0 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL1 : Toggle Output for port pin
bits : 1 - 1 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL2 : Toggle Output for port pin
bits : 2 - 2 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL3 : Toggle Output for port pin
bits : 3 - 3 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL4 : Toggle Output for port pin
bits : 4 - 4 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL5 : Toggle Output for port pin
bits : 5 - 5 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL6 : Toggle Output for port pin
bits : 6 - 6 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.

TGL7 : Toggle Output for port pin
bits : 7 - 7 (1 bit)

Enumeration:

1 : TGL

None

End of enumeration elements list.


GP0OEN

GPIO Port 0 output enable
address_offset : 0x4 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0OEN GP0OEN read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 OEN0 OEN1 OEN2 OEN3 OEN4 OEN5 OEN6 OEN7

OEN0 : Direction for port pin
bits : 0 - 0 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN1 : Direction for port pin
bits : 1 - 1 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN2 : Direction for port pin
bits : 2 - 2 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN3 : Direction for port pin
bits : 3 - 3 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN4 : Direction for port pin
bits : 4 - 4 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN5 : Direction for port pin
bits : 5 - 5 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN6 : Direction for port pin
bits : 6 - 6 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.

OEN7 : Direction for port pin
bits : 7 - 7 (1 bit)

Enumeration:

0 : IN

None

1 : OUT

None

End of enumeration elements list.


GP0PUL

GPIO Port 0 output pull up enable.
address_offset : 0x8 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0PUL GP0PUL read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 PUL0 PUL1 PUL2 PUL3 PUL4 PUL5 PUL6 PUL7

PUL0 : Pull Up Enable for port pin
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL1 : Pull Up Enable for port pin
bits : 1 - 1 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL2 : Pull Up Enable for port pin
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL3 : Pull Up Enable for port pin
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL4 : Pull Up Enable for port pin
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL5 : Pull Up Enable for port pin
bits : 5 - 5 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL6 : Pull Up Enable for port pin
bits : 6 - 6 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

PUL7 : Pull Up Enable for port pin
bits : 7 - 7 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.


GP0OCE

GPIO Port 0 tri state
address_offset : 0xC Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GP0OCE GP0OCE read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 OCE0 OCE1 OCE2 OCE3 OCE4 OCE5 OCE6 OCE7

OCE0 : open circuit Enable for port pin
bits : 0 - 0 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE1 : open circuit Enable for port pin
bits : 1 - 1 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE2 : open circuit Enable for port pin
bits : 2 - 2 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE3 : open circuit Enable for port pin
bits : 3 - 3 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE4 : open circuit Enable for port pin
bits : 4 - 4 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE5 : open circuit Enable for port pin
bits : 5 - 5 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE6 : open circuit Enable for port pin
bits : 6 - 6 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.

OCE7 : open circuit Enable for port pin
bits : 7 - 7 (1 bit)

Enumeration:

0 : DIS

None

1 : EN

None

End of enumeration elements list.



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.