Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

st7538.h File Reference


Detailed Description

ST7538 definitions header.

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Typedefs

typedef unsigned long st7538reg
 ST7538 register.


Enumerations

enum  ST7538_CTRL_BITS {
  ST7538_FREQ = 0x000007L,
  ST7538_BAUD = 0x000018L,
  ST7538_DEV = 0x000020L,
  ST7538_WATCHDOG = 0x000040L,
  ST7538_TIMEOUT = 0x000180L,
  ST7538_DET_TIME = 0x000600L,
  ST7538_ZEROSYNC = 0x000800L,
  ST7538_DET = 0x003000L,
  ST7538_ASYNC = 0x004000L,
  ST7538_CLK = 0x018000L,
  ST7538_PACKBAUD = 0x060000L,
  ST7538_PACKLEN = 0x180000L,
  ST7538_PACK = 0x200000L,
  ST7538_HISENSE = 0x400000L,
  ST7538_FILTER = 0x800000L
}
 ST7538 Control Register Bits. More...

enum  ST7538_FREQ_BITS {
  ST7538_FREQ_60 = 0x000000L,
  ST7538_FREQ_66 = 0x000001L,
  ST7538_FREQ_72 = 0x000002L,
  ST7538_FREQ_76 = 0x000003L,
  ST7538_FREQ_82 = 0x000004L,
  ST7538_FREQ_86 = 0x000005L,
  ST7538_FREQ_110 = 0x000006L,
  ST7538_FREQ_132 = 0x000007L
}
 ST7538 Channel Frequencies. More...

enum  ST7538_BAUD_BITS {
  ST7538_BAUD_600 = 0x000000L,
  ST7538_BAUD_1200 = 0x000008L,
  ST7538_BAUD_2400 = 0x000010L,
  ST7538_BAUD_4800 = 0x000018L
}
 ST7538 Baud Rates. More...

enum  ST7538_TIMEOUT_BITS {
  ST7538_NO_TIMEOUT = 0x000000L,
  ST7538_TIMEOUT_1 = 0x000080L,
  ST7538_TIMEOUT_3 = 0x000100L
}
 ST7538 Time Outs. More...

enum  ST7538_DET_TIME_BITS {
  ST7538_DET_TIME_500 = 0x000000L,
  ST7538_DET_TIME_1 = 0x000200L,
  ST7538_DET_TIME_3 = 0x000400L,
  ST7538_DET_TIME_5 = 0x000600L
}
 ST7538 Frequency Detection Times. More...

enum  ST7538_DET_BITS {
  ST7538_DET_CD = 0x000000L,
  ST7538_DET_CDC = 0x001000L,
  ST7538_DET_PD = 0x002000L,
  ST7538_DET_PDC = 0x003000L
}
 ST7538 Detection Methods. More...

enum  ST7538_CLK_BITS {
  ST7538_CLK_16 = 0x000000L,
  ST7538_CLK_8 = 0x008000L,
  ST7538_CLK_4 = 0x010000L
}
 ST7538 Output Clocks. More...

enum  ST7538_PACKBAUD_BITS {
  ST7538_PACKBAUD_32 = 0x000000L,
  ST7538_PACKBAUD_64 = 0x020000L,
  ST7538_PACKBAUD_128 = 0x040000L,
  ST7538_PACKBAUD_256 = 0x060000L
}
 ST7538 Packet Mode Baud Rates. More...

enum  ST7538_PACKLEN_BITS {
  ST7538_PACKLEN_8 = 0x000000L,
  ST7538_PACKLEN_9 = 0x080000L,
  ST7538_PACKLEN_14 = 0x100000L,
  ST7538_PACKLEN_16 = 0x180000L
}
 ST7538 Packet Lenghts. More...


Enumeration Type Documentation

enum ST7538_BAUD_BITS
 

ST7538 Baud Rates.

Enumeration values:
ST7538_BAUD_600  select 600bps rate
ST7538_BAUD_1200  select 1200bps rate
ST7538_BAUD_2400  select 2400bps rate
ST7538_BAUD_4800  select 4800bps rate

enum ST7538_CLK_BITS
 

ST7538 Output Clocks.

Enumeration values:
ST7538_CLK_16  select 16MHz output clock
ST7538_CLK_8  select 8MHz output clock
ST7538_CLK_4  select 4MHz output clock

enum ST7538_CTRL_BITS
 

ST7538 Control Register Bits.

Enumeration values:
ST7538_FREQ  channel frequency mask
ST7538_BAUD  baud rate mask
ST7538_DEV  select deviation of 1
ST7538_WATCHDOG  enable watchdog
ST7538_TIMEOUT  time out mask
ST7538_DET_TIME  frequency detection time mask
ST7538_ZEROSYNC  enable zero crossing synchronization
ST7538_DET  detection method mask
ST7538_ASYNC  select asynchronous interfacing mode
ST7538_CLK  output clock mask
ST7538_PACKBAUD  packet mode baud rate mask
ST7538_PACKLEN  packet lenght mask
ST7538_PACK  enable packet mode
ST7538_HISENSE  enable high sensitivity mode
ST7538_FILTER  enable input filter

enum ST7538_DET_BITS
 

ST7538 Detection Methods.

Enumeration values:
ST7538_DET_CD  select carrier detection without conditioning
ST7538_DET_CDC  select carrier detection with conditioning
ST7538_DET_PD  select preamble detection without conditioning
ST7538_DET_PDC  select preamble detection with conditioning

enum ST7538_DET_TIME_BITS
 

ST7538 Frequency Detection Times.

Enumeration values:
ST7538_DET_TIME_500  select 500us frequency detection time
ST7538_DET_TIME_1  select 1ms frequency detection time
ST7538_DET_TIME_3  select 3ms frequency detection time
ST7538_DET_TIME_5  select 5ms frequency detection time

enum ST7538_FREQ_BITS
 

ST7538 Channel Frequencies.

Enumeration values:
ST7538_FREQ_60  select 60kHz channel frequency
ST7538_FREQ_66  select 60kHz channel frequency
ST7538_FREQ_72  select 72kHz channel frequency
ST7538_FREQ_76  select 76kHz channel frequency
ST7538_FREQ_82  select 82.05kHz channel frequency
ST7538_FREQ_86  select 86kHz channel frequency
ST7538_FREQ_110  select 110kHz channel frequency
ST7538_FREQ_132  select 132.5kHz channel frequency

enum ST7538_PACKBAUD_BITS
 

ST7538 Packet Mode Baud Rates.

Enumeration values:
ST7538_PACKBAUD_32  select Mclk/32 packet mode baud rate
ST7538_PACKBAUD_64  select Mclk/64 packet mode baud rate
ST7538_PACKBAUD_128  select Mclk/128 packet mode baud rate
ST7538_PACKBAUD_256  select Mclk/256 packet mode baud rate

enum ST7538_PACKLEN_BITS
 

ST7538 Packet Lenghts.

Enumeration values:
ST7538_PACKLEN_8  select 8 bits packet lenght
ST7538_PACKLEN_9  select 9 bits packet lenght
ST7538_PACKLEN_14  select 14 bits packet lenght
ST7538_PACKLEN_16  select 16 bits packet lenght

enum ST7538_TIMEOUT_BITS
 

ST7538 Time Outs.

Enumeration values:
ST7538_NO_TIMEOUT  no time out
ST7538_TIMEOUT_1  1s time out
ST7538_TIMEOUT_3  3s time out


Generated on Sun Aug 21 21:28:46 2005 for PLC Modem/ABNT-14522 Library by doxygen 1.3.7