Electronics and Software
Engineering Innovation
ArmsysApi  0.12.18
BGpio.h File Reference
#include <BTypes.h>

Classes

class  BGpio
 

Enumerations

enum  Pin {
  PinNone = 0, PinA0 =0x00001, PinA1 =0x00002, PinA2 =0x00004,
  PinA3 =0x00008, PinA4 =0x00010, PinA5 =0x00020, PinA6 =0x00040,
  PinA7 =0x00080, PinA8 =0x00100, PinA9 =0x00200, PinA10 =0x00400,
  PinA11 =0x00800, PinA12 =0x01000, PinA13 =0x02000, PinA14 =0x04000,
  PinA15 =0x08000, PinB0 =0x10001, PinB1 =0x10002, PinB2 =0x10004,
  PinB3 =0x10008, PinB4 =0x10010, PinB5 =0x10020, PinB6 =0x10040,
  PinB7 =0x10080, PinB8 =0x10100, PinB9 =0x10200, PinB10 =0x10400,
  PinB11 =0x10800, PinB12 =0x11000, PinB13 =0x12000, PinB14 =0x14000,
  PinB15 =0x18000, PinC0 =0x20001, PinC1 =0x20002, PinC2 =0x20004,
  PinC3 =0x20008, PinC4 =0x20010, PinC5 =0x20020, PinC6 =0x20040,
  PinC7 =0x20080, PinC8 =0x20100, PinC9 =0x20200, PinC10 =0x20400,
  PinC11 =0x20800, PinC12 =0x21000, PinC13 =0x22000, PinC14 =0x24000,
  PinC15 =0x28000, PinD0 =0x30001, PinD1 =0x30002, PinD2 =0x30004,
  PinD3 =0x30008, PinD4 =0x30010, PinD5 =0x30020, PinD6 =0x30040,
  PinD7 =0x30080, PinD8 =0x30100, PinD9 =0x30200, PinD10 =0x30400,
  PinD11 =0x30800, PinD12 =0x31000, PinD13 =0x32000, PinD14 =0x34000,
  PinD15 =0x38000, PinE0 =0x40001, PinE1 =0x40002, PinE2 =0x40004,
  PinE3 =0x40008, PinE4 =0x40010, PinE5 =0x40020, PinE6 =0x40040,
  PinE7 =0x40080, PinE8 =0x40100, PinE9 =0x40200, PinE10 =0x40400,
  PinE11 =0x40800, PinE12 =0x41000, PinE13 =0x42000, PinE14 =0x44000,
  PinE15 =0x48000, PinF0 =0x50001, PinF1 =0x50002, PinF2 =0x50004,
  PinF3 =0x50008, PinF4 =0x50010, PinF5 =0x50020, PinF6 =0x50040,
  PinF7 =0x50080, PinF8 =0x50100, PinF9 =0x50200, PinF10 =0x50400,
  PinF11 =0x50800, PinF12 =0x51000, PinF13 =0x52000, PinF14 =0x54000,
  PinF15 =0x58000, PinG0 =0x60001, PinG1 =0x60002, PinG2 =0x60004,
  PinG3 =0x60008, PinG4 =0x60010, PinG5 =0x60020, PinG6 =0x60040,
  PinG7 =0x60080, PinG8 =0x60100, PinG9 =0x60200, PinG10 =0x60400,
  PinG11 =0x60800, PinG12 =0x61000, PinG13 =0x62000, PinG14 =0x64000,
  PinG15 =0x68000, PinH0 =0x70001, PinH1 =0x70002, PinH2 =0x70004,
  PinH3 =0x70008, PinH4 =0x70010, PinH5 =0x70020, PinH6 =0x70040,
  PinH7 =0x70080, PinH8 =0x70100, PinH9 =0x70200, PinH10 =0x70400,
  PinH11 =0x70800, PinH12 =0x71000, PinH13 =0x72000, PinH14 =0x74000,
  PinH15 =0x78000, PinI0 =0x80001, PinI1 =0x80002, PinI2 =0x80004,
  PinI3 =0x80008, PinI4 =0x80010, PinI5 =0x80020, PinI6 =0x80040,
  PinI7 =0x80080, PinI8 =0x80100, PinI9 =0x80200, PinI10 =0x80400,
  PinI11 =0x80800, PinI12 =0x81000, PinI13 =0x82000, PinI14 =0x84000,
  PinI15 =0x88000, PinJ0 =0x90001, PinJ1 =0x90002, PinJ2 =0x90004,
  PinJ3 =0x90008, PinJ4 =0x90010, PinJ5 =0x90020, PinJ6 =0x90040,
  PinJ7 =0x90080, PinJ8 =0x90100, PinJ9 =0x90200, PinJ10 =0x90400,
  PinJ11 =0x90800, PinJ12 =0x91000, PinJ13 =0x92000, PinJ14 =0x94000,
  PinJ15 =0x98000
}
 
enum  PinState { Off = 0, On = 1 }
 

Functions

void bitsSet (volatile BUInt8 &reg, BUInt32 bitPos, BUInt32 bitMask, BUInt32 value)
 
void bitsSet (volatile BUInt16 &reg, BUInt32 bitPos, BUInt32 bitMask, BUInt32 value)
 
void bitsSet (volatile BUInt32 &reg, BUInt32 bitPos, BUInt32 bitMask, BUInt32 value)
 

Variables

BGpio gpio
 

Enumeration Type Documentation

◆ Pin

enum Pin
Enumerator
PinNone 
PinA0 
PinA1 
PinA2 
PinA3 
PinA4 
PinA5 
PinA6 
PinA7 
PinA8 
PinA9 
PinA10 
PinA11 
PinA12 
PinA13 
PinA14 
PinA15 
PinB0 
PinB1 
PinB2 
PinB3 
PinB4 
PinB5 
PinB6 
PinB7 
PinB8 
PinB9 
PinB10 
PinB11 
PinB12 
PinB13 
PinB14 
PinB15 
PinC0 
PinC1 
PinC2 
PinC3 
PinC4 
PinC5 
PinC6 
PinC7 
PinC8 
PinC9 
PinC10 
PinC11 
PinC12 
PinC13 
PinC14 
PinC15 
PinD0 
PinD1 
PinD2 
PinD3 
PinD4 
PinD5 
PinD6 
PinD7 
PinD8 
PinD9 
PinD10 
PinD11 
PinD12 
PinD13 
PinD14 
PinD15 
PinE0 
PinE1 
PinE2 
PinE3 
PinE4 
PinE5 
PinE6 
PinE7 
PinE8 
PinE9 
PinE10 
PinE11 
PinE12 
PinE13 
PinE14 
PinE15 
PinF0 
PinF1 
PinF2 
PinF3 
PinF4 
PinF5 
PinF6 
PinF7 
PinF8 
PinF9 
PinF10 
PinF11 
PinF12 
PinF13 
PinF14 
PinF15 
PinG0 
PinG1 
PinG2 
PinG3 
PinG4 
PinG5 
PinG6 
PinG7 
PinG8 
PinG9 
PinG10 
PinG11 
PinG12 
PinG13 
PinG14 
PinG15 
PinH0 
PinH1 
PinH2 
PinH3 
PinH4 
PinH5 
PinH6 
PinH7 
PinH8 
PinH9 
PinH10 
PinH11 
PinH12 
PinH13 
PinH14 
PinH15 
PinI0 
PinI1 
PinI2 
PinI3 
PinI4 
PinI5 
PinI6 
PinI7 
PinI8 
PinI9 
PinI10 
PinI11 
PinI12 
PinI13 
PinI14 
PinI15 
PinJ0 
PinJ1 
PinJ2 
PinJ3 
PinJ4 
PinJ5 
PinJ6 
PinJ7 
PinJ8 
PinJ9 
PinJ10 
PinJ11 
PinJ12 
PinJ13 
PinJ14 
PinJ15 

◆ PinState

enum PinState
Enumerator
Off 
On 

Function Documentation

◆ bitsSet() [1/3]

void bitsSet ( volatile BUInt8 reg,
BUInt32  bitPos,
BUInt32  bitMask,
BUInt32  value 
)
inline

◆ bitsSet() [2/3]

void bitsSet ( volatile BUInt16 reg,
BUInt32  bitPos,
BUInt32  bitMask,
BUInt32  value 
)
inline

◆ bitsSet() [3/3]

void bitsSet ( volatile BUInt32 reg,
BUInt32  bitPos,
BUInt32  bitMask,
BUInt32  value 
)
inline

Variable Documentation

◆ gpio

BGpio gpio