beautypg.com

Digital i/o functions, Sx16_ioc_get_gpio, Sx16_ioc_set_gpio – Sensoray 616 Linux User Manual

Page 18

background image

18

Parameters

bitrate

Audio bit rate: see table below.

Return values

None.

Notes

Sets audio bit rate.


Bitrate value

Bit Rate (kbps)

MPEG Layer

I

Layer II

1
2
3
4
5
6
7
8
9

10
11
12
13
14

32
64
96

128
160
192
224
256
288
320
352
384
416
448

32
48
56
64
80
96

112
128
160
192
224
256
320
384

4.2.4. Digital I/O Functions

Note: Different models have different number of IO pins. Please refer the hardware manual for your board.

SX16_IOC_GET_GPIO

ioctl( handle, SX16_IOC_GET_GPIO, 0 );

Parameters

None.

Return values

State of GPIO

Notes

Reads state of GPIO pins: active input is low (when input is pulled down, bit is set to 1).

SX16_IOC_SET_GPIO

ioctl( handle, SX16_IOC_SET_GPIO, state );

Parameters

This manual is related to the following products: