Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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
 
uint8_t control_code
 
uint16_t timer_count
 

Detailed Description

Command sent from CP to Control digital output of PD.

Parameters
output_no0 = First Output, 1 = Second Output, etc.
control_codeOne of the following: 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
timer_countTime in units of 100 ms

Field Documentation

◆ control_code

uint8_t osdp_cmd_output::control_code

◆ output_no

uint8_t osdp_cmd_output::output_no

◆ timer_count

uint16_t osdp_cmd_output::timer_count

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