TMPM4G9  V1.0.0.0
DIGITAL_IO_Test Exported Functions

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

Macro Definition Documentation

§ PORT_FUNC

#define PORT_FUNC   GPIO_PE4_INPUT

§ PORT_GROUP

#define PORT_GROUP   GPIO_PORT_E

Digital Loopback Test.

Return values
none
Note
connected to LED4 in TMPM4K4-SBK
Attention
-
-

§ PORT_NUMBER

#define PORT_NUMBER   GPIO_PORT_4

Function Documentation

§ safety_DigitalIO()

bool safety_DigitalIO ( uint32_t *  result_word)

§ safety_DIN_PL4()

uint32_t safety_DIN_PL4 ( void  )

Read PL4 Port.

Return values
0:Lo, 1 :Hi
Note
connected to USW1 switch in TMPM4K4-SBK
Attention
-
-

§ safety_DOUT_PE7()

void safety_DOUT_PE7 ( uint32_t  output)

Write PE7 Port.

Return values
none
Note
connected to LED1 in TMPM4K4-SBK
Attention
-
-