summaryrefslogtreecommitdiff
path: root/model/driver
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-07-26 15:45:01 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-07-26 15:45:01 +0200
commit9ccab8015f3c481a6afbb0c7eb98c3f7d95268e3 (patch)
tree3ccfb2896081179e5ec031e76f9b3901c6905045 /model/driver
parent796354ca13e85c37a6233d34429737c8f0cf9e80 (diff)
nrf24l01 model: Add getObserveTx
Diffstat (limited to 'model/driver')
-rw-r--r--model/driver/nrf24l01.dfa9
1 files changed, 9 insertions, 0 deletions
diff --git a/model/driver/nrf24l01.dfa b/model/driver/nrf24l01.dfa
index 43c4b2f..2c8a2e3 100644
--- a/model/driver/nrf24l01.dfa
+++ b/model/driver/nrf24l01.dfa
@@ -88,6 +88,13 @@ transition:
- name: count
values: [0, 5, 10, 15]
parameter: max_retry_count
+ getObserveTx:
+ src: [STANDBY1]
+ dst: STANDBY1
+ return_value:
+ - parameter: retry_count
+ formula: param & 0x0f
+ apply_from: write
write:
src: [STANDBY1]
dst: STANDBY1
@@ -102,3 +109,5 @@ transition:
- name: blocking
values: [1, 1, 1, 1, 1, 1]
argument_combination: zip
+ return_value:
+ - lol: nope