diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-02 13:13:12 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-02 13:13:12 +0200 |
commit | 6f39086d550b66d2039f3f87f097d573d92eb047 (patch) | |
tree | 46b9e5e337031d7a01e708117b1d36a1f7a78777 /model/driver | |
parent | f3c756896d415abcc4b69f13bc61c54ac718f5f0 (diff) |
nRF24L01+ model: Add enums for dummy driver generation
Diffstat (limited to 'model/driver')
-rw-r--r-- | model/driver/nrf24l01.dfa | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/model/driver/nrf24l01.dfa b/model/driver/nrf24l01.dfa index 639120f..8ac5528 100644 --- a/model/driver/nrf24l01.dfa +++ b/model/driver/nrf24l01.dfa @@ -3,6 +3,23 @@ codegen: includes: ['driver/nrf24l01.h'] flags: ['drivers=nrf24l01', 'arch_drivers=spi_b'] +dummygen: + enum: + rf24_pa_dbm_e: + - RF24_PA_MIN + - RF24_PA_LOW + - RF24_PA_HIGH + - RF24_PA_MAX + - RF24_PA_ERROR + rf24_datarate_e: + - RF24_1MBPS + - RF24_2MBPS + - RF24_250KBPS + rf24_crclength_e: + - RF24_CRC_DISABLED + - RF24_CRC_8 + - RF24_CRC_16 + parameters: - auto_ack! - payload_size |