modules: - name: calc enums: - name: enum_a doc: Enum a values: [a, b] variables: - name: time_boot doc: Time in seconds since last reboot type: U32 - name: time_real doc: Time in seconds since epoch type: U32 - name: test_str doc: A test string with the fixed value TEST type: S16 - name: test_enum doc: Tests enums type: enum_a reports: - name: time doc: Collection of all time variables variables: - time_boot - time_real commands: - name: add doc: Sums two numbers args: - name: left doc: First operand type: I32 - name: right doc: Second operand type: I32 rets: - name: val doc: Result type: I32 - name: div doc: Divides two numbers args: - name: left doc: First operand type: I32 - name: right doc: Second operand type: I32 rets: - name: val doc: Result type: I32 - name: err doc: Error flag, set on error type: Bool events: - name: event_a doc: Event a - name: event_b doc: Event b