Milos RTOS v0.3.4a
Real Time Operating System
ioctl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __IOCTL_SETSPEED   0
 Set device speed.
#define __IOCTL_GETSPEED   1
 Get device speed.
#define __IOCTL_SETBITLENGHT   2
 Set bits.
#define __IOCTL_GETBITLENGHT   3
 Get bits.
#define __IOCTL_SETPARITY   4
 Set parity.
#define __IOCTL_GETPARITY   5
 Get parity.
#define __IOCTL_SETSTOPBITS   6
 Set stop bit.
#define __IOCTL_GETSTOPBITS   7
 Get stop bit.
#define __IOCTL_SETFLOWCONTROL   8
 Set flow control.
#define __IOCTL_GETFLOWCONTROL   9
 Get flow control.
#define __IOCTL_SETRXTIMEOUT   10
 Set RX timeout.
#define __IOCTL_GETRXTIMEOUT   11
 Get RX timeout.
#define __IOCTL_SETTXTIMEOUT   12
 Set TX timeout.
#define __IOCTL_GETTXTIMEOUT   13
 Get TX timeout.
#define __IOCTL_ECHO_ONOFF   14
 ECHO enable/disable.
#define __IOCTL_ECHO   15
 Get ECHO.
#define __IOCTL_SETRTS   16
 Set RTS.
#define __IOCTL_SETDTR   17
 Set DTR.
#define __IOCTL_ASSERT_CS   18
 Enable Chip Select generation.
#define __IOCTL_SET_CS   19
 Set Chip Select.
#define __IOCTL_MEDIA_AVAILABLE   20
 MMC/SD available.
#define __IOCTL_WRITE_PROTECTED   21
 Media is write protected.
#define __IOCTL_SET_SECTOR   22
 Set sector.
#define __IOCTL_GET_SECTOR   23
 Get sector.
#define __IOCTL_GET_POWER_STATUS   24
 Get device's power status.
#define __IOCTL_SET_POWER_STATUS   25
 Set device's power status.
#define __IOCTL_GET_SECTOR_COUNT   26
 Retrieve sector count.
#define __IOCTL_GET_BLOCK_SIZE   27
 Get Block size.
#define __IOCTL_GET_CARD_TYPE   28
 Get Card type.
#define __IOCTL_GET_CSD   29
 Get Card Specific Data.
#define __IOCTL_GET_CID   30
 Get CID.
#define __IOCTL_GET_OCR   31
 Get OCR.
#define __IOCTL_GET_SDSTAT   32
 Get SD status.
#define __IOCTL_GET_FIX_FLAG   33
 For GPS, returns the FIX flag.
#define __IOCTL_TERMINAL_OUTPUT   34
 Enables/disables terminal output.
#define __IOCTL_SET_LINE   35
 Sets the cursor at a given line (display)
#define __IOCTL_SET_COLUMN   36
 Sets the cursor at a given column (display)
#define __IOCTL_CLEAR_LINE   37
 Clears a line (display)
#define __IOCTL_CLEAR_SCREEN   38
 Clears the screen (display)
#define __IOCTL_SET_REMOTE_ADDR   39
 Set remote address.
#define __IOCTL_SET_REMOTE_SUBADDR   40
 Set remote sub-address.
#define __IOCTL_SET_OWN_ADDR   41
 Set own address (i2c slave)
#define __IOCTL_SET_MODE   42
 Set working mode.
#define __IOCTL_SET_BLOCK   43
 Set block.
#define __IOCTL_GET_BLOCK   44
 Get block.
#define __IOCTL_SET_ADDRESS   45
 Set address.
#define __IOCTL_GET_ADDRESS   46
 Get address.
#define __IOCTL_SET_PAGE   47
 Set page.
#define __IOCTL_GET_PAGE   48
 Get page.
#define __IOCTL_SET_MAX_PAGES   49
 Set maximum quantity of pages.
#define __IOCTL_GET_MAX_PAGES   50
 Get maximum quantity of pages.
#define __IOCTL_GET_FRAME_SIZE   51
 Get next frame size (network interface)
#define __IOCTL_GET_MAC_ADDRESS   52
 Get 6 bytes length MAC address.
#define __IOCTL_GET_LINK_STATUS   53
 Get the Ethernet link status.
#define __IOCTL_QUERY_LINK_STATUS   54
 Query the PHY for the Ethernet link status.
#define __IOCTL_SET_RXBUF_SIZE   55
 Set RX buffer size.
#define __IOCTL_SET_TXBUF_SIZE   56
 Set TX buffer size.
#define __IOCTL_GET_RXBUF_SIZE   57
 Get RX buffer size.
#define __IOCTL_GET_TXBUF_SIZE   58
 Get TX buffer size.

Define Documentation

#define __IOCTL_SETSPEED   0

Set device speed.

Definition at line 32 of file ioctl.h.

#define __IOCTL_GETSPEED   1

Get device speed.

Definition at line 33 of file ioctl.h.

#define __IOCTL_SETBITLENGHT   2

Set bits.

Definition at line 34 of file ioctl.h.

#define __IOCTL_GETBITLENGHT   3

Get bits.

Definition at line 35 of file ioctl.h.

#define __IOCTL_SETPARITY   4

Set parity.

Definition at line 36 of file ioctl.h.

#define __IOCTL_GETPARITY   5

Get parity.

Definition at line 37 of file ioctl.h.

#define __IOCTL_SETSTOPBITS   6

Set stop bit.

Definition at line 38 of file ioctl.h.

#define __IOCTL_GETSTOPBITS   7

Get stop bit.

Definition at line 39 of file ioctl.h.

#define __IOCTL_SETFLOWCONTROL   8

Set flow control.

Definition at line 40 of file ioctl.h.

#define __IOCTL_GETFLOWCONTROL   9

Get flow control.

Definition at line 41 of file ioctl.h.

#define __IOCTL_SETRXTIMEOUT   10

Set RX timeout.

Definition at line 42 of file ioctl.h.

#define __IOCTL_GETRXTIMEOUT   11

Get RX timeout.

Definition at line 43 of file ioctl.h.

#define __IOCTL_SETTXTIMEOUT   12

Set TX timeout.

Definition at line 44 of file ioctl.h.

#define __IOCTL_GETTXTIMEOUT   13

Get TX timeout.

Definition at line 45 of file ioctl.h.

#define __IOCTL_ECHO_ONOFF   14

ECHO enable/disable.

Definition at line 46 of file ioctl.h.

#define __IOCTL_ECHO   15

Get ECHO.

Definition at line 47 of file ioctl.h.

#define __IOCTL_SETRTS   16

Set RTS.

Definition at line 48 of file ioctl.h.

#define __IOCTL_SETDTR   17

Set DTR.

Definition at line 49 of file ioctl.h.

#define __IOCTL_ASSERT_CS   18

Enable Chip Select generation.

Definition at line 50 of file ioctl.h.

#define __IOCTL_SET_CS   19

Set Chip Select.

Definition at line 51 of file ioctl.h.

#define __IOCTL_MEDIA_AVAILABLE   20

MMC/SD available.

Definition at line 52 of file ioctl.h.

#define __IOCTL_WRITE_PROTECTED   21

Media is write protected.

Definition at line 53 of file ioctl.h.

#define __IOCTL_SET_SECTOR   22

Set sector.

Definition at line 54 of file ioctl.h.

#define __IOCTL_GET_SECTOR   23

Get sector.

Definition at line 55 of file ioctl.h.

#define __IOCTL_GET_POWER_STATUS   24

Get device's power status.

Definition at line 56 of file ioctl.h.

#define __IOCTL_SET_POWER_STATUS   25

Set device's power status.

Definition at line 57 of file ioctl.h.

#define __IOCTL_GET_SECTOR_COUNT   26

Retrieve sector count.

Definition at line 58 of file ioctl.h.

#define __IOCTL_GET_BLOCK_SIZE   27

Get Block size.

Definition at line 59 of file ioctl.h.

#define __IOCTL_GET_CARD_TYPE   28

Get Card type.

Definition at line 60 of file ioctl.h.

#define __IOCTL_GET_CSD   29

Get Card Specific Data.

Definition at line 61 of file ioctl.h.

#define __IOCTL_GET_CID   30

Get CID.

Definition at line 62 of file ioctl.h.

#define __IOCTL_GET_OCR   31

Get OCR.

Definition at line 63 of file ioctl.h.

#define __IOCTL_GET_SDSTAT   32

Get SD status.

Definition at line 64 of file ioctl.h.

#define __IOCTL_GET_FIX_FLAG   33

For GPS, returns the FIX flag.

Definition at line 65 of file ioctl.h.

#define __IOCTL_TERMINAL_OUTPUT   34

Enables/disables terminal output.

Definition at line 66 of file ioctl.h.

#define __IOCTL_SET_LINE   35

Sets the cursor at a given line (display)

Definition at line 67 of file ioctl.h.

#define __IOCTL_SET_COLUMN   36

Sets the cursor at a given column (display)

Definition at line 68 of file ioctl.h.

#define __IOCTL_CLEAR_LINE   37

Clears a line (display)

Definition at line 69 of file ioctl.h.

#define __IOCTL_CLEAR_SCREEN   38

Clears the screen (display)

Definition at line 70 of file ioctl.h.

#define __IOCTL_SET_REMOTE_ADDR   39

Set remote address.

Definition at line 71 of file ioctl.h.

#define __IOCTL_SET_REMOTE_SUBADDR   40

Set remote sub-address.

Definition at line 72 of file ioctl.h.

#define __IOCTL_SET_OWN_ADDR   41

Set own address (i2c slave)

Definition at line 73 of file ioctl.h.

#define __IOCTL_SET_MODE   42

Set working mode.

Definition at line 74 of file ioctl.h.

#define __IOCTL_SET_BLOCK   43

Set block.

Definition at line 75 of file ioctl.h.

#define __IOCTL_GET_BLOCK   44

Get block.

Definition at line 76 of file ioctl.h.

#define __IOCTL_SET_ADDRESS   45

Set address.

Definition at line 77 of file ioctl.h.

#define __IOCTL_GET_ADDRESS   46

Get address.

Definition at line 78 of file ioctl.h.

#define __IOCTL_SET_PAGE   47

Set page.

Definition at line 79 of file ioctl.h.

#define __IOCTL_GET_PAGE   48

Get page.

Definition at line 80 of file ioctl.h.

#define __IOCTL_SET_MAX_PAGES   49

Set maximum quantity of pages.

Definition at line 81 of file ioctl.h.

#define __IOCTL_GET_MAX_PAGES   50

Get maximum quantity of pages.

Definition at line 82 of file ioctl.h.

#define __IOCTL_GET_FRAME_SIZE   51

Get next frame size (network interface)

Definition at line 83 of file ioctl.h.

#define __IOCTL_GET_MAC_ADDRESS   52

Get 6 bytes length MAC address.

Definition at line 84 of file ioctl.h.

#define __IOCTL_GET_LINK_STATUS   53

Get the Ethernet link status.

Definition at line 85 of file ioctl.h.

#define __IOCTL_QUERY_LINK_STATUS   54

Query the PHY for the Ethernet link status.

Definition at line 86 of file ioctl.h.

#define __IOCTL_SET_RXBUF_SIZE   55

Set RX buffer size.

Definition at line 87 of file ioctl.h.

#define __IOCTL_SET_TXBUF_SIZE   56

Set TX buffer size.

Definition at line 88 of file ioctl.h.

#define __IOCTL_GET_RXBUF_SIZE   57

Get RX buffer size.

Definition at line 89 of file ioctl.h.

#define __IOCTL_GET_TXBUF_SIZE   58

Get TX buffer size.

Definition at line 90 of file ioctl.h.

 All Data Structures Files Functions Variables Typedefs Defines