0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef RF69_ENUM_H
0010 #define RF69_ENUM_H
0011
0012 enum mode {
0013 mode_sleep,
0014 standby,
0015 synthesizer,
0016 transmit,
0017 receive
0018 };
0019
0020 enum modulation {
0021 OOK,
0022 FSK,
0023 UNDEF
0024 };
0025
0026 enum mod_shaping {
0027 SHAPING_OFF,
0028 SHAPING_1_0,
0029 SHAPING_0_5,
0030 SHAPING_0_3,
0031 SHAPING_BR,
0032 SHAPING_2BR
0033 };
0034
0035 enum pa_ramp {
0036 ramp3400,
0037 ramp2000,
0038 ramp1000,
0039 ramp500,
0040 ramp250,
0041 ramp125,
0042 ramp100,
0043 ramp62,
0044 ramp50,
0045 ramp40,
0046 ramp31,
0047 ramp25,
0048 ramp20,
0049 ramp15,
0050 ramp12,
0051 ramp10
0052 };
0053
0054 enum antenna_impedance {
0055 fifty_ohm,
0056 two_hundred_ohm
0057 };
0058
0059 enum lna_gain {
0060 automatic,
0061 max,
0062 max_minus_6,
0063 max_minus_12,
0064 max_minus_24,
0065 max_minus_36,
0066 max_minus_48,
0067 undefined
0068 };
0069
0070 enum mantisse {
0071 mantisse16,
0072 mantisse20,
0073 mantisse24
0074 };
0075
0076 enum threshold_decrement {
0077 dec_every8th,
0078 dec_every4th,
0079 dec_every2nd,
0080 dec_once,
0081 dec_twice,
0082 dec_4times,
0083 dec_8times,
0084 dec_16times
0085 };
0086
0087 enum fifo_fill_condition {
0088 after_sync_interrupt,
0089 always
0090 };
0091
0092 enum packet_format {
0093
0094
0095
0096
0097
0098 packet_length_fix,
0099
0100
0101
0102
0103
0104 packet_length_var
0105 };
0106
0107 enum tx_start_condition {
0108
0109 fifo_level,
0110
0111 fifo_not_empty
0112 };
0113
0114 enum address_filtering {
0115 filtering_off,
0116 node_address,
0117 node_or_broadcast_address
0118 };
0119
0120 enum dagc {
0121 normal_mode,
0122 improve,
0123 improve_for_low_modulation_index
0124 };
0125
0126 #endif