TMPM4G9  V1.0.0.0
safety_digital_io.h
Go to the documentation of this file.
1 
13 /*------------------------------------------------------------------------------*/
14 /* Define to prevent recursive inclusion */
15 /*------------------------------------------------------------------------------*/
16 #ifndef _SAFETY_DIGITAL_IO_H
17 #define _SAFETY_DIGITAL_IO_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /*------------------------------------------------------------------------------*/
24 /* Includes */
25 /*------------------------------------------------------------------------------*/
26 #include "txz_safety_def.h"
27 
37 /*------------------------------------------------------------------------------*/
38 /* Macro Definition */
39 /*------------------------------------------------------------------------------*/
45 /* no define */
46  /* End of group DIGITAL_IO_Test_Exported_define */
50 
51 /*------------------------------------------------------------------------------*/
52 /* Enumerated Type Definition */
53 /*------------------------------------------------------------------------------*/
59 /* no define */
60  /* End of group DIGITAL_IO_Test_Exported_define */
64 
65 /*------------------------------------------------------------------------------*/
66 /* Structure Definition */
67 /*------------------------------------------------------------------------------*/
73 /* no define */
74  /* End of group DIGITAL_IO_Test_Exported_typedef */
78 
79 /*------------------------------------------------------------------------------*/
80 /* Functions */
81 /*------------------------------------------------------------------------------*/
87 uint32_t safety_DIN_PL4(void);
88 void safety_DOUT_PE7(uint32_t output);
89 bool safety_DigitalIO(uint32_t *result_word);
90  /* End of group DIGITAL_IO_Test_Exported_functions */
94  /* End of group DIGITAL_IO_Test */
98  /* End of group Safety_Library */
102 
103 #ifdef __cplusplus
104 }
105 #endif /* __cplusplus */
106 #endif /* _SAFETY_DIGITAL_IO_H */
107 
108 
All common macro and definition for TXZ safety libraries.
uint32_t safety_DIN_PL4(void)
Read PL4 Port.
Definition: safety_digital_io.c:163
void safety_DOUT_PE7(uint32_t output)
Write PE7 Port.
Definition: safety_digital_io.c:189
bool safety_DigitalIO(uint32_t *result_word)
Definition: safety_digital_io.c:217