LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
Data Fields
ftestPortsStruct Struct Reference

Holds the test declarations for one Port. More...

Data Fields

volatile uint8_t * pin
 Address of the PINx-register. More...
 
volatile uint8_t * port
 Address of the PORTx-register. More...
 
uint8_t testMask
 Bit mask of which pins to test. All 1-bits are tested. More...
 

Detailed Description

Holds the test declarations for one Port.

You have to set up an array of this struct containing ALL ports in ascending order (even if the port is not tested at all) since the index will be interpreted as PORTA, B, C and so on

Field Documentation

◆ pin

volatile uint8_t* pin

Address of the PINx-register.

Referenced by FTestWalkingOne(), and FTestWalkingZero().

◆ port

volatile uint8_t* port

Address of the PORTx-register.

Referenced by FTestWalkingOne(), and FTestWalkingZero().

◆ testMask

uint8_t testMask

Bit mask of which pins to test. All 1-bits are tested.

Referenced by FTestWalkingOne(), and FTestWalkingZero().


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