summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-26 14:24:45 -0700
committerKeith Packard <keithp@keithp.com>2013-03-26 14:24:45 -0700
commit4889b33af9700b9d872364f0cadaf9425cf84a7d (patch)
treede741508b1e37f0ce2c1f8edc385502909d3ae5d /src/core/ao.h
parent6fe1e32f5361e901b88b63a30f070e67d460ada1 (diff)
altos: Add RFPA0133 amplifier driver
No configuration of power level yet, just the bare driver. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index ce0bf5d1..133d9118 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -535,6 +535,25 @@ void
ao_radio_send_lots(ao_radio_fill_func fill);
/*
+ * ao_radio_pa
+ */
+
+#if AO_RADIO_HAS_PA
+void
+ao_radio_pa_on(void);
+
+void
+ao_radio_pa_off(void);
+
+void
+ao_radio_pa_init(void);
+#else
+#define ao_radio_pa_on()
+#define ao_radio_pa_off()
+#define ao_radio_pa_init()
+#endif
+
+/*
* Compute the packet length as follows:
*
* 2000 bps (for a 1kHz tone)