DolphinV4 API  1.6.1.0
io
Collaboration diagram for io:

Modules

 IO config parameters
 IO functions

Detailed Description

The IO module is used to access and configure the GPIO pins. The module makes it possible:

The IO module is configured with the help of Dolphin APIConfigurator. The Dolphin APIConfigurator generates the initialization parameters for the pins in the array io_param[]. These parameters are initiated in the API using the io_init function. The possible IO initialization for the pins are showed on the picture below.

Note:
Be sure to initialise the IO module using Dolphin APIConfigurator correctly otherwise the peripherial sw modules will not work correctly. The Ports WXID_IO,WXOD_IO are low Power with Output 1.8V and Current low.
The default level of an output IO pin is LOW. When the io_init function is called all pins which are configured as output are set active and LOW. If the application requires that a pin is set always HIGH, he io_setDigital or io_setPort hast to be called prior mainInit();.
mainInit();
//Currently ADIO_1 is active and LOW for several us after #io_init was called. Calling io_setDigital will cause that the pin goes low
//than high in a periode of few us.
io_setDigital(ADIO_1,1);
//This implementation will avoid the behavior described before.
io_setDigital(ADIO_1,1);
mainInit();
gpio_list.png
GPIO pins