sub_if.h File Reference

Go to the source code of this file.

Classes

struct  sub_tag_t

Defines

#define __GENF_NOSLA   0x04
#define __GENF_NOSTOP   0x02
#define __GENF_RESTART   0x01
#define __I2C_DATA_ACK   0x28
#define __I2C_DATA_NAK   0x30
#define __I2C_ERROR   0xF8
#define __I2C_ILLEGAL   0xFF
#define __I2C_READ_ACK   0x50
#define __I2C_READ_ACK_TO   0xE3
#define __I2C_READ_NAK   0x58
#define __I2C_READ_NAK_TO   0xE4
#define __I2C_RESTART   0x10
#define __I2C_SLA_ARB   0x38
#define __I2C_SLAR_ACK   0x40
#define __I2C_SLAR_NAK   0x48
#define __I2C_SLAW_ACK   0x18
#define __I2C_SLAW_NAK   0x20
#define __I2C_START   0x08
#define __I2C_START_TO   0xE1
#define __I2C_STOP_TO   0xE2
#define __I2C_WAIT_TO   0xE0
#define __I2C_WRITE_TO   0xE5
#define __LCD_NOT_SUPPORTED   0xFF
#define MAX_ADC_READS   30
#define SUB_ADC_CONFIG   0x58
#define SUB_ADC_READ   0x59
#define SUB_BB_I2C_CONFIG   0x82
#define SUB_BB_I2C_RDWR   0x84
#define SUB_BB_I2C_SCAN   0x83
#define SUB_BB_I2C_START   0x80
#define SUB_BB_I2C_STOP   0x81
#define SUB_BOOT_WRITE_NVRAM   1
#define SUB_FAST_PWM_CONFIG   0x66
#define SUB_FAST_PWM_SET   0x67
#define SUB_FIFO_CONFIG   0x70
#define SUB_GET_VERSION   0x00
#define SUB_GPIO_CONFIG   0x60
#define SUB_GPIO_READ   0x61
#define SUB_GPIO_WRITE   0x62
#define SUB_GPIOB_CONFIG   0x63
#define SUB_GPIOB_READ   0x64
#define SUB_GPIOB_WRITE   0x65
#define SUB_I2C_CONFIG   0x21
#define SUB_I2C_FREQ   0x20
#define SUB_I2C_GENERIC   0x12
#define SUB_I2C_RDWR   0x14
#define SUB_I2C_SCAN   0x15
#define SUB_I2C_START   0x10
#define SUB_I2C_STOP   0x11
#define SUB_IR_CONFIG   0x90
#define SUB_IR_TX   0x91
#define SUB_LCD_WRITE   0x50
#define SUB_MAX_BB_I2C_READ   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,bb_i2c_rdwr_resp.data))
#define SUB_MAX_BB_I2C_WRITE   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,bb_i2c_rdwr_req.ma))
#define SUB_MAX_I2C_READ   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_rdwr_resp.data))
#define SUB_MAX_I2C_SCAN   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_scan_resp.slave_buf))
#define SUB_MAX_I2C_WRITE   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_rdwr_req.ma))
#define SUB_MAX_IR_TX   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,ir_tx_req.buf))
#define SUB_MAX_LCD_STR   60
#define SUB_MAX_MDIO_XFER   ((SUB_MAX_PACK-1-offsetof(sub_tag_t,mdio_xfer_req.xfer[0]))/sizeof(struct mdio_xfer_st))
#define SUB_MAX_PACK   64
#define SUB_MAX_PACK_LONG   256
#define SUB_MAX_RS_XFER   (SUB_MAX_PACK-1-offsetof(sub_tag_t,RX_xfer_req.tx_buf))
#define SUB_MAX_SPI_RDWR   (SUB_MAX_PACK-1-offsetof(sub_tag_t,spi_rdwr_req.data))
#define SUB_MAX_SPI_RDWR_LONG   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,spi_rdwr_req.data))
#define SUB_MAX_SPI_SDIO_RDWR   (SUB_MAX_PACK-1-offsetof(sub_tag_t,spi_sdio_rdwr_req.data))
#define SUB_MDIO_XFER   0x48
#define SUB_PWM_CONFIG   0x6C
#define SUB_PWM_SET   0x6D
#define SUB_RS_CONFIG   0x68
#define SUB_RS_TIMING   0x69
#define SUB_RS_XFER   0x6A
#define SUB_SPI_CONFIG   0x40
#define SUB_SPI_RDWR   0x43
#define SUB_SPI_READ   0x41
#define SUB_SPI_SDIO_RDWR   0x44
#define SUB_SPI_WRITE   0x42
#define SUB_UNKNOWN   0xFF
#define SUB_VENDOR_REQUEST   0x80
#define SUB_WINDEX_BOOT   0x00
#define SUB_WINDEX_CFG_VPD   0x03
#define SUB_WINDEX_MODE   0x01
#define SUB_WINDEX_VER   0x02

Define Documentation

#define __GENF_NOSLA   0x04

Definition at line 130 of file lib/sub_if.h.

#define __GENF_NOSTOP   0x02

Definition at line 129 of file lib/sub_if.h.

#define __GENF_RESTART   0x01

Definition at line 128 of file lib/sub_if.h.

#define __I2C_DATA_ACK   0x28

Definition at line 493 of file lib/sub_if.h.

#define __I2C_DATA_NAK   0x30

Definition at line 494 of file lib/sub_if.h.

#define __I2C_ERROR   0xF8

Definition at line 507 of file lib/sub_if.h.

#define __I2C_ILLEGAL   0xFF

Definition at line 508 of file lib/sub_if.h.

#define __I2C_READ_ACK   0x50

Definition at line 498 of file lib/sub_if.h.

#define __I2C_READ_ACK_TO   0xE3

Definition at line 504 of file lib/sub_if.h.

#define __I2C_READ_NAK   0x58

Definition at line 499 of file lib/sub_if.h.

#define __I2C_READ_NAK_TO   0xE4

Definition at line 505 of file lib/sub_if.h.

#define __I2C_RESTART   0x10

Definition at line 490 of file lib/sub_if.h.

#define __I2C_SLA_ARB   0x38

Definition at line 495 of file lib/sub_if.h.

#define __I2C_SLAR_ACK   0x40

Definition at line 496 of file lib/sub_if.h.

#define __I2C_SLAR_NAK   0x48

Definition at line 497 of file lib/sub_if.h.

#define __I2C_SLAW_ACK   0x18

Definition at line 491 of file lib/sub_if.h.

#define __I2C_SLAW_NAK   0x20

Definition at line 492 of file lib/sub_if.h.

#define __I2C_START   0x08

Definition at line 489 of file lib/sub_if.h.

#define __I2C_START_TO   0xE1

Definition at line 502 of file lib/sub_if.h.

#define __I2C_STOP_TO   0xE2

Definition at line 503 of file lib/sub_if.h.

#define __I2C_WAIT_TO   0xE0

Definition at line 501 of file lib/sub_if.h.

#define __I2C_WRITE_TO   0xE5

Definition at line 506 of file lib/sub_if.h.

#define __LCD_NOT_SUPPORTED   0xFF

Definition at line 330 of file lib/sub_if.h.

#define MAX_ADC_READS   30

Definition at line 311 of file lib/sub_if.h.

#define SUB_ADC_CONFIG   0x58

Definition at line 62 of file lib/sub_if.h.

#define SUB_ADC_READ   0x59

Definition at line 63 of file lib/sub_if.h.

#define SUB_BB_I2C_CONFIG   0x82

Definition at line 84 of file lib/sub_if.h.

#define SUB_BB_I2C_RDWR   0x84

Definition at line 86 of file lib/sub_if.h.

#define SUB_BB_I2C_SCAN   0x83

Definition at line 85 of file lib/sub_if.h.

#define SUB_BB_I2C_START   0x80

Definition at line 82 of file lib/sub_if.h.

#define SUB_BB_I2C_STOP   0x81

Definition at line 83 of file lib/sub_if.h.

#define SUB_BOOT_WRITE_NVRAM   1

Definition at line 481 of file lib/sub_if.h.

#define SUB_FAST_PWM_CONFIG   0x66

Definition at line 71 of file lib/sub_if.h.

#define SUB_FAST_PWM_SET   0x67

Definition at line 72 of file lib/sub_if.h.

#define SUB_FIFO_CONFIG   0x70

Definition at line 80 of file lib/sub_if.h.

#define SUB_GET_VERSION   0x00

Definition at line 42 of file lib/sub_if.h.

#define SUB_GPIO_CONFIG   0x60

Definition at line 65 of file lib/sub_if.h.

#define SUB_GPIO_READ   0x61

Definition at line 66 of file lib/sub_if.h.

#define SUB_GPIO_WRITE   0x62

Definition at line 67 of file lib/sub_if.h.

#define SUB_GPIOB_CONFIG   0x63

Definition at line 68 of file lib/sub_if.h.

#define SUB_GPIOB_READ   0x64

Definition at line 69 of file lib/sub_if.h.

#define SUB_GPIOB_WRITE   0x65

Definition at line 70 of file lib/sub_if.h.

#define SUB_I2C_CONFIG   0x21

Definition at line 50 of file lib/sub_if.h.

#define SUB_I2C_FREQ   0x20

Definition at line 49 of file lib/sub_if.h.

#define SUB_I2C_GENERIC   0x12

Definition at line 46 of file lib/sub_if.h.

#define SUB_I2C_RDWR   0x14

Definition at line 47 of file lib/sub_if.h.

#define SUB_I2C_SCAN   0x15

Definition at line 48 of file lib/sub_if.h.

#define SUB_I2C_START   0x10

Definition at line 44 of file lib/sub_if.h.

#define SUB_I2C_STOP   0x11

Definition at line 45 of file lib/sub_if.h.

#define SUB_IR_CONFIG   0x90

Definition at line 88 of file lib/sub_if.h.

#define SUB_IR_TX   0x91

Definition at line 89 of file lib/sub_if.h.

#define SUB_LCD_WRITE   0x50

Definition at line 60 of file lib/sub_if.h.

#define SUB_MAX_BB_I2C_READ   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,bb_i2c_rdwr_resp.data))

Definition at line 409 of file lib/sub_if.h.

#define SUB_MAX_BB_I2C_WRITE   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,bb_i2c_rdwr_req.ma))

Definition at line 410 of file lib/sub_if.h.

#define SUB_MAX_I2C_READ   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_rdwr_resp.data))

Definition at line 150 of file lib/sub_if.h.

#define SUB_MAX_I2C_SCAN   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_scan_resp.slave_buf))

Definition at line 186 of file lib/sub_if.h.

#define SUB_MAX_I2C_WRITE   (SUB_MAX_PACK-1-offsetof(sub_tag_t,i2c_rdwr_req.ma))

Definition at line 151 of file lib/sub_if.h.

#define SUB_MAX_IR_TX   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,ir_tx_req.buf))

Definition at line 458 of file lib/sub_if.h.

#define SUB_MAX_LCD_STR   60

Definition at line 323 of file lib/sub_if.h.

#define SUB_MAX_MDIO_XFER   ((SUB_MAX_PACK-1-offsetof(sub_tag_t,mdio_xfer_req.xfer[0]))/sizeof(struct mdio_xfer_st))

Definition at line 243 of file lib/sub_if.h.

#define SUB_MAX_PACK   64

Definition at line 483 of file lib/sub_if.h.

#define SUB_MAX_PACK_LONG   256

Definition at line 484 of file lib/sub_if.h.

#define SUB_MAX_RS_XFER   (SUB_MAX_PACK-1-offsetof(sub_tag_t,RX_xfer_req.tx_buf))

Definition at line 367 of file lib/sub_if.h.

#define SUB_MAX_SPI_RDWR   (SUB_MAX_PACK-1-offsetof(sub_tag_t,spi_rdwr_req.data))

Definition at line 206 of file lib/sub_if.h.

#define SUB_MAX_SPI_RDWR_LONG   (SUB_MAX_PACK_LONG-1-offsetof(sub_tag_t,spi_rdwr_req.data))

Definition at line 207 of file lib/sub_if.h.

#define SUB_MAX_SPI_SDIO_RDWR   (SUB_MAX_PACK-1-offsetof(sub_tag_t,spi_sdio_rdwr_req.data))

Definition at line 223 of file lib/sub_if.h.

#define SUB_MDIO_XFER   0x48

Definition at line 58 of file lib/sub_if.h.

#define SUB_PWM_CONFIG   0x6C

Definition at line 73 of file lib/sub_if.h.

#define SUB_PWM_SET   0x6D

Definition at line 74 of file lib/sub_if.h.

#define SUB_RS_CONFIG   0x68

Definition at line 76 of file lib/sub_if.h.

#define SUB_RS_TIMING   0x69

Definition at line 77 of file lib/sub_if.h.

#define SUB_RS_XFER   0x6A

Definition at line 78 of file lib/sub_if.h.

#define SUB_SPI_CONFIG   0x40

Definition at line 52 of file lib/sub_if.h.

#define SUB_SPI_RDWR   0x43

Definition at line 55 of file lib/sub_if.h.

#define SUB_SPI_READ   0x41

Definition at line 53 of file lib/sub_if.h.

#define SUB_SPI_SDIO_RDWR   0x44

Definition at line 56 of file lib/sub_if.h.

#define SUB_SPI_WRITE   0x42

Definition at line 54 of file lib/sub_if.h.

#define SUB_UNKNOWN   0xFF

Definition at line 41 of file lib/sub_if.h.

#define SUB_VENDOR_REQUEST   0x80

Definition at line 474 of file lib/sub_if.h.

#define SUB_WINDEX_BOOT   0x00

Definition at line 475 of file lib/sub_if.h.

#define SUB_WINDEX_CFG_VPD   0x03

Definition at line 478 of file lib/sub_if.h.

#define SUB_WINDEX_MODE   0x01

Definition at line 476 of file lib/sub_if.h.

#define SUB_WINDEX_VER   0x02

Definition at line 477 of file lib/sub_if.h.

 All Classes Files Functions Variables Typedefs Enumerator Defines


sub20
Author(s): Sebastian Haug
autogenerated on Fri Jan 11 09:59:56 2013