2019-02-04 23:52:21 +00:00
|
|
|
|
// <copyright file="Bits.cs" company="Adrian Conlon">
|
|
|
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
|
|
|
|
|
namespace EightBit
|
2019-02-02 15:12:51 +00:00
|
|
|
|
{
|
2019-02-03 20:29:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
2019-02-02 15:12:51 +00:00
|
|
|
|
[Flags]
|
|
|
|
|
public enum Bits
|
|
|
|
|
{
|
2019-05-04 14:19:55 +00:00
|
|
|
|
None = 0,
|
2019-02-02 15:12:51 +00:00
|
|
|
|
Bit0 = 1,
|
2019-02-03 21:13:06 +00:00
|
|
|
|
Bit1 = Bit0 << 1,
|
|
|
|
|
Bit2 = Bit1 << 1,
|
|
|
|
|
Bit3 = Bit2 << 1,
|
|
|
|
|
Bit4 = Bit3 << 1,
|
|
|
|
|
Bit5 = Bit4 << 1,
|
|
|
|
|
Bit6 = Bit5 << 1,
|
|
|
|
|
Bit7 = Bit6 << 1,
|
|
|
|
|
Bit8 = Bit7 << 1,
|
|
|
|
|
Bit9 = Bit8 << 1,
|
|
|
|
|
Bit10 = Bit9 << 1,
|
|
|
|
|
Bit11 = Bit10 << 1,
|
|
|
|
|
Bit12 = Bit11 << 1,
|
|
|
|
|
Bit13 = Bit12 << 1,
|
|
|
|
|
Bit14 = Bit13 << 1,
|
|
|
|
|
Bit15 = Bit14 << 1,
|
2019-02-04 23:52:21 +00:00
|
|
|
|
Bit16 = Bit15 << 1,
|
2019-02-02 15:12:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|