ClearCore Library
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Public Attributes
ClearCore::SysConnectorState Union Reference

Detailed Description

SysConnectorState union allocating 1 bit per connector.

This union is used to hold a bitmask of state information at a system level instead of having to query each connector individually.

Note
Names in the bitfield match the ClearCorePins enum.
This interface does not include any attached CCIO-8 pins. To read all CCIO-8 pins see CcioBoardManager::OutputState().

#include <SysConnectors.h>

Public Member Functions

 SysConnectorState (uint32_t initialBits)
 
 SysConnectorState ()
 

Public Attributes

uint32_t reg
 
struct { 
 
   uint32_t   CLEARCORE_PIN_IO0: 1 
 
   uint32_t   CLEARCORE_PIN_IO1: 1 
 
   uint32_t   CLEARCORE_PIN_IO2: 1 
 
   uint32_t   CLEARCORE_PIN_IO3: 1 
 
   uint32_t   CLEARCORE_PIN_IO4: 1 
 
   uint32_t   CLEARCORE_PIN_IO5: 1 
 
   uint32_t   CLEARCORE_PIN_DI6: 1 
 
   uint32_t   CLEARCORE_PIN_DI7: 1 
 
   uint32_t   CLEARCORE_PIN_DI8: 1 
 
   uint32_t   CLEARCORE_PIN_A9: 1 
 
   uint32_t   CLEARCORE_PIN_A10: 1 
 
   uint32_t   CLEARCORE_PIN_A11: 1 
 
   uint32_t   CLEARCORE_PIN_A12: 1 
 
   uint32_t   CLEARCORE_PIN_LED: 1 
 
   uint32_t   CLEARCORE_PIN_M0: 1 
 
   uint32_t   CLEARCORE_PIN_M1: 1 
 
   uint32_t   CLEARCORE_PIN_M2: 1 
 
   uint32_t   CLEARCORE_PIN_M3: 1 
 
   uint32_t   CLEARCORE_PIN_COM0: 1 
 
   uint32_t   CLEARCORE_PIN_COM1: 1 
 
   uint32_t   CLEARCORE_PIN_USB: 1 
 
bit 
 

Constructor & Destructor Documentation

◆ SysConnectorState() [1/2]

ClearCore::SysConnectorState::SysConnectorState ( uint32_t  initialBits)
inline

Constructor to allow initialization lists.

◆ SysConnectorState() [2/2]

ClearCore::SysConnectorState::SysConnectorState ( )
inline

Default Constructor

Member Data Documentation

◆ [struct]

struct { ... } ClearCore::SysConnectorState::bit

Field access to the system connector state register

◆ reg

uint32_t ClearCore::SysConnectorState::reg

Broad access to the whole register


The documentation for this union was generated from the following file: