Ralink RT2880 User Manual page 62

Ralink ap sdk 3.5.0.0 & demo board
Table of Contents

Advertisement

unsigned int on
unsigned int off
unsigned int blinks
unsigned int rests;
unsigned int times;
} ralink_gpio_led_info;
Write the application to set the LED frequency through the ioctl interface of the GPIO device.
Use the example application, gpio.
#make menuconfig
Kernel/Library/Defaults Selection --->
[*] Customize Vendor/User Settings
Ralink RT288x Application --->
[ ] RT2880 GPIO Test
Usage:
gpio l <gpio> <on> <off> <blinks> <rests> <times>
gpio:
GPIO number of the board
on:
number of ticks that the LED will be bright
off:
number of ticks that the LED will be dark
blinks:
number of on-offs that the LED will blink
rests:
number of on-offs that the LED will rest
times:
number of blinks before the LED stops
Note: 1 tick is equal to 100ms. The maximum number is 4000 at this time.
RALINK AP SDK 3.3.0.0 User's Manual
Page 62 of 93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rt3052Rt3883Rt3352

Table of Contents