General Purpose I/O Pins; General Purpose Inputs - XMOS VocalFusion XVF3510 User Manual

Table of Contents

Advertisement

}
I2C Master (XVF3510-UA only)
-
100kbps SCL clock speed
-
Register read/write (byte)
-
Up to 56 byte I2C read/write
The following sections describe the configuration and usage of each peripheral interface.

4.3.5. GENERAL PURPOSE I/O PINS

There are four general input and four general output pins provided on the XVF3510.
Table 4-3 GPIO pin table
NAME
DESCRIPTION
IP_0
General purpose input
IP_1
General purpose input
IP_2
General purpose input
IP_3
General purpose input
OP_0
General purpose output
OP_1
General purpose output
OP_2
General purpose output
OP_3
General purpose output

4.3.6. GENERAL PURPOSE INPUTS

The following commands are available to read and control GPIs. Note that interrupt registers are set
to 1 when an edge has been detected and 0 when no event has occurred. All interrupt registers are
initialised to 0 on boot.
IP_0 is special in that, when interrupts are enabled, they are automatically serviced inside the chip
and an HID report is generated over USB accordingly. See the
The following parameters are available to interrogate and configure the GPI behaviour.
Table 4-4 General purpose Input commands
COMMAND
GET_GPI
GET_GPI_INT_PENDING_PIN
XM-014232-PC
TYPE DIR
ARGS DESCRIPTION
Read current level of all pins of the selected GPIO port. Pin 0
uint32 READ
1
corresponds to the LSB of the port.
Read whether interrupt was triggered for selected pin. The
uint32 READ
1
interrupt pending register for the selected pin is cleared by
this command.
USB HID
section for further details.
I/O
IN
IN
IN
IN
OUT
OUT
OUT
OUT
36

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vocalfusion xvf3510-intVocalfusion xvf3510-ua

Table of Contents