Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
osdp_cmd_output Struct Reference

Command sent from CP to Control digital output of PD. More...

#include <osdp.h>

Data Fields

uint8_t output_no
 Output number.
 
uint8_t control_code
 Control code.
 
uint16_t timer_count
 Time in units of 100 ms.
 

Detailed Description

Command sent from CP to Control digital output of PD.

Field Documentation

◆ control_code

uint8_t osdp_cmd_output::control_code

Control code.

  • 0 - NOP – do not alter this output
  • 1 - set the permanent state to OFF, abort timed operation (if any)
  • 2 - set the permanent state to ON, abort timed operation (if any)
  • 3 - set the permanent state to OFF, allow timed operation to complete
  • 4 - set the permanent state to ON, allow timed operation to complete
  • 5 - set the temporary state to ON, resume perm state on timeout
  • 6 - set the temporary state to OFF, resume permanent state on timeout

◆ output_no

uint8_t osdp_cmd_output::output_no

Output number.

0 = First Output, 1 = Second Output, etc.

◆ timer_count

uint16_t osdp_cmd_output::timer_count

Time in units of 100 ms.


The documentation for this struct was generated from the following file: