TMPM4G9  V1.0.0.0
safety_digital_io.c File Reference

This file provides API functions for Safety Library - DIGITAL IN/OUT. More...

#include <string.h>
#include "safety_digital_io.h"
#include "txz_gpio.h"
#include "bsp.h"

Macros

#define PORT_GROUP   GPIO_PORT_E
 Digital Loopback Test. More...
 
#define PORT_NUMBER   GPIO_PORT_4
 
#define PORT_FUNC   GPIO_PE4_INPUT
 

Functions

uint32_t safety_DIN_PL4 (void)
 Read PL4 Port. More...
 
void safety_DOUT_PE7 (uint32_t output)
 Write PE7 Port. More...
 
bool safety_DigitalIO (uint32_t *result_word)
 

Detailed Description

This file provides API functions for Safety Library - DIGITAL IN/OUT.

Version
V0.1.0.2
Date
2019-02-07 15:55:49

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

Copyright(C) Toshiba Electronic Device Solutions Corporation 2019