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

@@ -49,3 +49,7 @@ bool hal_gpio_read(const GpioPin* gpio) {
// TODO emulate pin state?
return false;
}
void enable_cc1101_irq() {
printf("enable cc1101 irq\n");
}

View File

@@ -50,4 +50,6 @@ void hal_gpio_init(
void hal_gpio_write(const GpioPin* gpio, const bool state);
// read value from GPIO, false = LOW, true = HIGH
bool hal_gpio_read(const GpioPin* gpio);
bool hal_gpio_read(const GpioPin* gpio);
void enable_cc1101_irq();