cc1101_send_cmd(CC1101_CMD(state_power_down));
}
+/* Enter Wake on Radio (WOR) mode
+ * Wake on Radio mode will be exited upon radio activity or by setting the
+ * chip select pin low (any access to the CC1101 will do so)
+ */
+void cc1101_enter_wake_on_radio(void)
+{
+ cc1101_send_cmd(CC1101_CMD(state_idle));
+ msleep(1);
+ cc1101_send_cmd(CC1101_CMD(state_wake_on_radio));
+}
+
/* Change a configuration byte.
* This function places the CC1101 chip in idle state.
*/
*/
void cc1101_power_down(void);
+/* Enter Wake on Radio (WOR) mode
+ * Wake on Radio mode will be exited upon radio activity or by setting the
+ * chip select pin low (any access to the CC1101 will do so)
+ */
+void cc1101_enter_wake_on_radio(void);
+
/* Change a configuration byte.
* This function places the CC1101 chip in idle state.
*/