eBoard ๐Ÿ‰  โ‘ โ‘งโ‘จ
Written for SIA 2017/2018
I2CInOut Struct Reference

[COPY&PASTE] This is the I2CInOut ghost struct :D More...

#include <eBoard.h>

Public Member Functions

 I2CInOut (SoccerBoard &, optVAL_t, optVAL_t, optVAL_t, optVAL_t)
 The constructor. More...
 
void read (void)
 ๐Ÿ”ง I prevent errors! More...
 
void changeAddress (optVAL_t)
 ๐Ÿ”ง I prevent errors! More...
 
void changeModes (optVAL_t, optVAL_t, optVAL_t)
 ๐Ÿ”ง I prevent errors! More...
 
void write (void)
 this will write values stored in B and C More...
 

Public Attributes

optVAL_t A
 storing value for A-pin (๐Ÿ”ง I prevent errors!) More...
 
optVAL_t B
 storing value for B-pin [MOTOR DIR] More...
 
optVAL_t C
 storing value for C-pin [MOTOR SPE] More...
 

Detailed Description

[COPY&PASTE] This is the I2CInOut ghost struct :D

Author
EagleoutIce
Note
any assignment to Port A won't has anny effect!

[COPY&PASTE] You can use this class like this:

#include "/home/eagleoutice/Dokumente/proj/_sia/src/eBoard.h"
//added as library '#include <eBoard.h>'
//nothing in this brackets will have any effect :D
int main() {
io1.B = HIGH;
io1.C = 108;
io1.write();
}

Definition at line 3015 of file eBoard.h.

Constructor & Destructor Documentation

◆ I2CInOut()

I2CInOut::I2CInOut ( SoccerBoard ,
optVAL_t  ,
optVAL_t  ,
optVAL_t  ,
optVAL_t   
)

The constructor.

Note
It does nothing! :D (well its initalizing pin values but.... nothing special^^)

Member Function Documentation

◆ changeAddress()

void I2CInOut::changeAddress ( optVAL_t  )
inline

๐Ÿ”ง I prevent errors!

◆ changeModes()

void I2CInOut::changeModes ( optVAL_t  ,
optVAL_t  ,
optVAL_t   
)
inline

๐Ÿ”ง I prevent errors!

◆ read()

void I2CInOut::read ( void  )
inline

๐Ÿ”ง I prevent errors!

◆ write()

void I2CInOut::write ( void  )
inline

this will write values stored in B and C

Note
404 'A' not found :D

Member Data Documentation

◆ A

optVAL_t I2CInOut::A

storing value for A-pin (๐Ÿ”ง I prevent errors!)

Definition at line 3037 of file eBoard.h.

◆ B

optVAL_t I2CInOut::B

storing value for B-pin [MOTOR DIR]

Definition at line 3040 of file eBoard.h.

◆ C

optVAL_t I2CInOut::C

storing value for C-pin [MOTOR SPE]

Definition at line 3042 of file eBoard.h.


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