IO Bits
[IO]

The values to use to create a mask to pass into any of the Bits style functions. More...


Defines

#define IO_PA00_BIT   1LL<<0x00
 IO 0, Port A.
#define IO_PA01_BIT   1LL<<0x01
 IO 1, Port A.
#define IO_PA02_BIT   1LL<<0x02
 IO 2, Port A.
#define IO_PA03_BIT   1LL<<0x03
 IO 3, Port A.
#define IO_PA04_BIT   1LL<<0x04
 IO 4, Port A.
#define IO_PA05_BIT   1LL<<0x05
 IO 5, Port A.
#define IO_PA06_BIT   1LL<<0x06
 IO 6, Port A.
#define IO_PA07_BIT   1LL<<0x07
 IO 7, Port A.
#define IO_PA08_BIT   1LL<<0x08
 IO 8, Port A.
#define IO_PA09_BIT   1LL<<0x09
 IO 9, Port A.
#define IO_PA10_BIT   1LL<<0x0A
 IO 10, Port A.
#define IO_PA11_BIT   1LL<<0x0B
 IO 11, Port A.
#define IO_PA12_BIT   1LL<<0x0C
 IO 12, Port A.
#define IO_PA13_BIT   1LL<<0x0D
 IO 13, Port A.
#define IO_PA14_BIT   1LL<<0x0E
 IO 14, Port A.
#define IO_PA15_BIT   1LL<<0x0F
 IO 15, Port A.
#define IO_PA16_BIT   1LL<<0x10
 IO 16, Port A.
#define IO_PA17_BIT   1LL<<0x11
 IO 17, Port A.
#define IO_PA18_BIT   1LL<<0x12
 IO 18, Port A.
#define IO_PA19_BIT   1LL<<0x13
 IO 19, Port A.
#define IO_PA20_BIT   1LL<<0x14
 IO 20, Port A.
#define IO_PA21_BIT   1LL<<0x15
 IO 21, Port A.
#define IO_PA22_BIT   1LL<<0x16
 IO 22, Port A.
#define IO_PA23_BIT   1LL<<0x17
 IO 23, Port A.
#define IO_PA24_BIT   1LL<<0x18
 IO 24, Port A.
#define IO_PA25_BIT   1LL<<0x19
 IO 25, Port A.
#define IO_PA26_BIT   1LL<<0x1A
 IO 26, Port A.
#define IO_PA27_BIT   1LL<<0x1B
 IO 27, Port A.
#define IO_PA28_BIT   1LL<<0x1C
 IO 28, Port A.
#define IO_PA29_BIT   1LL<<0x1D
 IO 29, Port A.
#define IO_PA30_BIT   1LL<<0x1E
 IO 30, Port A.
#define IO_PA31_BIT   1LL<<0x1F
 IO 31, Port A.
#define IO_PB00_BIT   1LL<<0x20
 IO 0, Port B.
#define IO_PB01_BIT   1LL<<0x21
 IO 1, Port B.
#define IO_PB02_BIT   1LL<<0x22
 IO 2, Port B.
#define IO_PB03_BIT   1LL<<0x23
 IO 3, Port B.
#define IO_PB04_BIT   1LL<<0x24
 IO 4, Port B.
#define IO_PB05_BIT   1LL<<0x25
 IO 5, Port B.
#define IO_PB06_BIT   1LL<<0x26
 IO 6, Port B.
#define IO_PB07_BIT   1LL<<0x27
 IO 7, Port B.
#define IO_PB08_BIT   1LL<<0x28
 IO 8, Port B.
#define IO_PB09_BIT   1LL<<0x29
 IO 9, Port B.
#define IO_PB10_BIT   1LL<<0x2A
 IO 10, Port B.
#define IO_PB11_BIT   1LL<<0x2B
 IO 11, Port B.
#define IO_PB12_BIT   1LL<<0x2C
 IO 12, Port B.
#define IO_PB13_BIT   1LL<<0x2D
 IO 13, Port B.
#define IO_PB14_BIT   1LL<<0x2E
 IO 14, Port B.
#define IO_PB15_BIT   1LL<<0x2F
 IO 15, Port B.
#define IO_PB16_BIT   1LL<<0x30
 IO 16, Port B.
#define IO_PB17_BIT   1LL<<0x31
 IO 17, Port B.
#define IO_PB18_BIT   1LL<<0x32
 IO 18, Port B.
#define IO_PB19_BIT   1LL<<0x33
 IO 19, Port B.
#define IO_PB20_BIT   1LL<<0x34
 IO 20, Port B.
#define IO_PB21_BIT   1LL<<0x35
 IO 21, Port B.
#define IO_PB22_BIT   1LL<<0x36
 IO 22, Port B.
#define IO_PB23_BIT   1LL<<0x37
 IO 23, Port B.
#define IO_PB24_BIT   1LL<<0x38
 IO 24, Port B.
#define IO_PB25_BIT   1LL<<0x39
 IO 25, Port B.
#define IO_PB26_BIT   1LL<<0x3A
 IO 26, Port B.
#define IO_PB27_BIT   1LL<<0x3B
 IO 27, Port B.
#define IO_PB28_BIT   1LL<<0x3C
 IO 28, Port B.
#define IO_PB29_BIT   1LL<<0x3D
 IO 29, Port B.
#define IO_PB30_BIT   1LL<<0x3E
 IO 30, Port B.
#define IO_PB31_BIT   1LL<<0x3F
 IO 31, Port B.

Detailed Description

The values to use to create a mask to pass into any of the Bits style functions.

Your mask values need to be of type longlong since it needs to represent 64 bits, for the 64 IO lines.

Example

  longlong mymask = 0;
  mymask |= (IO_PA00_BIT | IO_PA03_BIT | IO_PA11_BIT);
  // now disable the pullups for lines PA00, PA03, and PA11
  Io_PullupDisableBits( mymask );