4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
ltrx_cpm.h File Reference

Definitions for Configurable Pins. More...

Data Structures

struct  ltrx_cpm_role
 Represents a Configurable Pin role for registration. More...
 

Enumerations

enum  ltrx_cpm_required_assert { LTRX_CPM_REQUIRED_ASSERT__NONE = 0, LTRX_CPM_REQUIRED_ASSERT__HIGH = 1, LTRX_CPM_REQUIRED_ASSERT__LOW = 2 }
 
enum  ltrx_cpm_required_mode { LTRX_CPM_REQUIRED_MODE__NONE = 0, LTRX_CPM_REQUIRED_MODE__PUSH_PULL = 1, LTRX_CPM_REQUIRED_MODE__WEAK_PULLUP = 2 }
 
enum  ltrx_cpm_role_usage { LTRX_CPM_ROLE_USAGE__RESERVED = 0, LTRX_CPM_ROLE_USAGE__INPUT = 1, LTRX_CPM_ROLE_USAGE__OUTPUT = 2 }
 

Functions

bool ltrx_cp_read (uint16_t roleIndex, bool *isAsserted)
 Read a Configurable Pin value. More...
 
void ltrx_cp_register_role (const struct ltrx_cpm_role *role)
 Register a CPM role. More...
 
uint16_t ltrx_cp_role_index_get (const char *roleName)
 Lookup role index. More...
 
bool ltrx_cp_write (uint16_t roleIndex, bool setting)
 Write to a Configurable Pin. More...
 

Detailed Description

Definitions for Configurable Pins.