CoX Peripheral Interface(M051 Implement) V2.1.1.0
API Reference
xGPIO General Pin ID
Collaboration diagram for xGPIO General Pin ID:

Defines

#define xGPIO_PIN_0
 GPIO pin 0.
#define xGPIO_PIN_1
 GPIO pin 1.
#define xGPIO_PIN_2
 GPIO pin 2.
#define xGPIO_PIN_3
 GPIO pin 3.
#define xGPIO_PIN_4
 GPIO pin 4.
#define xGPIO_PIN_5
 GPIO pin 5.
#define xGPIO_PIN_6
 GPIO pin 6.
#define xGPIO_PIN_7
 GPIO pin 7.

Detailed Description

1. Where to use this group

The following values define the bit field for the ulPins argument to several of the APIs. So all the API which have a ulPins argument must use this group.

2.CoX Port Details

//! +------------------------+----------------+------------------------+
//! |xGPIO General Pin ID    |       CoX      |         M051           |
//! |------------------------|----------------|------------------------|
//! |xGPIO_PIN_n             |    Mandatory   |       xGPIO_PIN_0      |
//! |                        |                |------------------------|
//! |                        |                |       xGPIO_PIN_1      |
//! |                        |                |------------------------|
//! |                        |                |       xGPIO_PIN_2      |
//! |                        |                |------------------------|
//! |                        |                |           ...          |
//! |                        |                |------------------------|
//! |                        |                |       xGPIO_PIN_7      |
//! +------------------------+----------------+------------------------+
//! 

Define Documentation

#define xGPIO_PIN_0

GPIO pin 0.

Definition at line 137 of file xgpio.h.

#define xGPIO_PIN_1

GPIO pin 1.

Definition at line 142 of file xgpio.h.

#define xGPIO_PIN_2

GPIO pin 2.

Definition at line 147 of file xgpio.h.

#define xGPIO_PIN_3

GPIO pin 3.

Definition at line 152 of file xgpio.h.

#define xGPIO_PIN_4

GPIO pin 4.

Definition at line 157 of file xgpio.h.

#define xGPIO_PIN_5

GPIO pin 5.

Definition at line 162 of file xgpio.h.

#define xGPIO_PIN_6

GPIO pin 6.

Definition at line 167 of file xgpio.h.

#define xGPIO_PIN_7

GPIO pin 7.

Definition at line 172 of file xgpio.h.