FL-353 Cc1101 rx (#255)

* enable transparent mode
* rssi ok, transmit ok, fifo ok
* I see the signal
* successful async rx (registers from smartrf)
* refactor rfstudio register config
* rewrite config, found some issues
* handle G0 interrupts
* g0 irq enable after cc1101 init
* update cube
This commit is contained in:
coreglitch
2020-12-01 21:47:46 +03:00
committed by GitHub
parent 36937f3595
commit f58b322bb5
19 changed files with 939 additions and 1016 deletions

View File

@@ -6,6 +6,10 @@
void nfc_isr(void);
#endif
#ifdef BUILD_CC1101
void cc1101_isr();
#endif
static volatile bool initialized = false;
static ValueManager input_state_record;
static PubSub input_events_record;
@@ -115,6 +119,13 @@ void HAL_GPIO_EXTI_Callback(uint16_t pin) {
}
#endif
#ifdef BUILD_CC1101
if(pin == CC1101_G0_Pin) {
cc1101_isr();
return;
}
#endif
if(!initialized) return;
signal_event(&event);