API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Data Structures

struct  tsmart_dio_config_t
 Digital Input/Output configuration structure. More...
 
struct  tsmart_dio_t
 Digital Input/Output handler structure. More...
 
struct  tsmart_dio_group_t
 Digital Input/Output group configuration structure. More...
 

Enumerations

enum  tsmart_dio_mode_t {
  TSMART_DIO_IN_FLOATING = 0x04, TSMART_DIO_IPD = 0x28, TSMART_DIO_IPU = 0x48, TSMART_DIO_OD = 0x14,
  TSMART_DIO_PP = 0x10
}
 Digital Input/Output operation mode. More...
 
enum  tsmart_dio_irq_t { TSMART_DIO_IRQ_NULL, TSMART_DIO_IRQ_RISING, TSMART_DIO_IRQ_FALLING, TSMART_DIO_IRQ_RISING_FALLING }
 Digital Input/Output interruption label. More...
 

Detailed Description

Enumeration Type Documentation

Digital Input/Output interruption label.

Enumerator
TSMART_DIO_IRQ_NULL 

Digital Input/Output without interruption associated

TSMART_DIO_IRQ_RISING 

Digital Input/Output using falling edge interruption

TSMART_DIO_IRQ_FALLING 

Digital Input/Output using rising edge interruption

TSMART_DIO_IRQ_RISING_FALLING 

Digital Input/Output using rising and falling edge interruption

Digital Input/Output operation mode.

Enumerator
TSMART_DIO_IN_FLOATING 

Digital Input/Output input floating

TSMART_DIO_IPD 

Digital Input/Output input pull down

TSMART_DIO_IPU 

Digital Input/Output input pull up

TSMART_DIO_OD 

Digital Input/Output input open drain

TSMART_DIO_PP 

Digital Input/Output input push pull