aboutsummaryrefslogtreecommitdiff
path: root/lib/lufa/Projects/LEDNotifier
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-07-07 11:55:23 -0400
committerJack Humbert <jack.humb@gmail.com>2017-07-07 11:55:23 -0400
commit8655d4f4948b2deef7844503c8d690f23ac1a062 (patch)
treeb2c6effc9d6cd5b5b43933a1e53b8bf17e9e82cf /lib/lufa/Projects/LEDNotifier
parent1896c76a2928c96f9ab7947bec2ef8dd37623cff (diff)
parent60b30c036397cb5627fa374bb930794b225daa29 (diff)
downloadqmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.tar.gz
qmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.zip
Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa'
Diffstat (limited to 'lib/lufa/Projects/LEDNotifier')
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs131
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs115
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj95
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.resx132
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Program.cs21
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/AssemblyInfo.cs36
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs63
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.resx117
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs26
-rw-r--r--lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.settings7
-rw-r--r--lib/lufa/Projects/LEDNotifier/Config/LUFAConfig.h93
-rw-r--r--lib/lufa/Projects/LEDNotifier/Descriptors.c245
-rw-r--r--lib/lufa/Projects/LEDNotifier/Descriptors.h110
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs149
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs75
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj95
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx123
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Program.cs21
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs36
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs63
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx117
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs26
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings7
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDNotifier.c178
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDNotifier.h60
-rw-r--r--lib/lufa/Projects/LEDNotifier/LEDNotifier.txt63
-rw-r--r--lib/lufa/Projects/LEDNotifier/LUFA LED Notifier.inf66
-rw-r--r--lib/lufa/Projects/LEDNotifier/asf.xml51
-rw-r--r--lib/lufa/Projects/LEDNotifier/doxyfile2397
-rw-r--r--lib/lufa/Projects/LEDNotifier/makefile43
30 files changed, 4761 insertions, 0 deletions
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs
new file mode 100644
index 000000000..2b189943a
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.Designer.cs
@@ -0,0 +1,131 @@
1namespace CPUMonitor
2{
3 partial class frmCPU
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 this.serSerialPort = new System.IO.Ports.SerialPort(this.components);
33 this.tmrCPUTimer = new System.Windows.Forms.Timer(this.components);
34 this.cmbComPort = new System.Windows.Forms.ComboBox();
35 this.pcCPUUsage = new System.Diagnostics.PerformanceCounter();
36 this.lblCPU = new System.Windows.Forms.Label();
37 this.nicoNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
38 this.btnMinimizeToTray = new System.Windows.Forms.Button();
39 this.btnExit = new System.Windows.Forms.Button();
40 ((System.ComponentModel.ISupportInitialize)(this.pcCPUUsage)).BeginInit();
41 this.SuspendLayout();
42 //
43 // tmrCPUTimer
44 //
45 this.tmrCPUTimer.Enabled = true;
46 this.tmrCPUTimer.Interval = 1000;
47 this.tmrCPUTimer.Tick += new System.EventHandler(this.tmrCPUTimer_Tick);
48 //
49 // cmbComPort
50 //
51 this.cmbComPort.FormattingEnabled = true;
52 this.cmbComPort.Location = new System.Drawing.Point(48, 12);
53 this.cmbComPort.Name = "cmbComPort";
54 this.cmbComPort.Size = new System.Drawing.Size(156, 21);
55 this.cmbComPort.TabIndex = 0;
56 this.cmbComPort.SelectedIndexChanged += new System.EventHandler(this.cbPort_SelectedIndexChanged);
57 //
58 // pcCPUUsage
59 //
60 this.pcCPUUsage.CategoryName = "Processor";
61 this.pcCPUUsage.CounterName = "% Processor Time";
62 this.pcCPUUsage.InstanceName = "_Total";
63 //
64 // lblCPU
65 //
66 this.lblCPU.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
67 this.lblCPU.Location = new System.Drawing.Point(44, 36);
68 this.lblCPU.Name = "lblCPU";
69 this.lblCPU.Size = new System.Drawing.Size(160, 28);
70 this.lblCPU.TabIndex = 1;
71 this.lblCPU.Text = "0%";
72 this.lblCPU.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
73 //
74 // nicoNotifyIcon
75 //
76 this.nicoNotifyIcon.Text = "CPU Usage Monitor";
77 this.nicoNotifyIcon.Visible = true;
78 //
79 // btnMinimizeToTray
80 //
81 this.btnMinimizeToTray.Location = new System.Drawing.Point(12, 67);
82 this.btnMinimizeToTray.Name = "btnMinimizeToTray";
83 this.btnMinimizeToTray.Size = new System.Drawing.Size(111, 28);
84 this.btnMinimizeToTray.TabIndex = 2;
85 this.btnMinimizeToTray.Text = "Minimize to Tray";
86 this.btnMinimizeToTray.UseVisualStyleBackColor = true;
87 this.btnMinimizeToTray.Click += new System.EventHandler(this.btnMinimizeToTray_Click);
88 //
89 // btnExit
90 //
91 this.btnExit.Location = new System.Drawing.Point(126, 67);
92 this.btnExit.Name = "btnExit";
93 this.btnExit.Size = new System.Drawing.Size(111, 28);
94 this.btnExit.TabIndex = 3;
95 this.btnExit.Text = "Exit";
96 this.btnExit.UseVisualStyleBackColor = true;
97 this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
98 //
99 // frmCPU
100 //
101 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
102 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
103 this.ClientSize = new System.Drawing.Size(249, 106);
104 this.Controls.Add(this.btnExit);
105 this.Controls.Add(this.btnMinimizeToTray);
106 this.Controls.Add(this.lblCPU);
107 this.Controls.Add(this.cmbComPort);
108 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
109 this.MaximizeBox = false;
110 this.Name = "frmCPU";
111 this.Text = "CPU Usage Monitor";
112 this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
113 this.Load += new System.EventHandler(this.Form1_Load);
114 ((System.ComponentModel.ISupportInitialize)(this.pcCPUUsage)).EndInit();
115 this.ResumeLayout(false);
116
117 }
118
119 #endregion
120
121 private System.IO.Ports.SerialPort serSerialPort;
122 private System.Windows.Forms.Timer tmrCPUTimer;
123 private System.Windows.Forms.ComboBox cmbComPort;
124 private System.Diagnostics.PerformanceCounter pcCPUUsage;
125 private System.Windows.Forms.Label lblCPU;
126 private System.Windows.Forms.NotifyIcon nicoNotifyIcon;
127 private System.Windows.Forms.Button btnMinimizeToTray;
128 private System.Windows.Forms.Button btnExit;
129 }
130}
131
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs
new file mode 100644
index 000000000..32543fc59
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs
@@ -0,0 +1,115 @@
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using Microsoft.Win32;
10
11namespace CPUMonitor
12{
13 public partial class frmCPU : Form
14 {
15 private RegistryKey AppRegKey;
16
17 private const int LIGHT_MAX = 0x1F;
18
19 public frmCPU()
20 {
21 InitializeComponent();
22
23 nicoNotifyIcon.Icon = this.Icon;
24 nicoNotifyIcon.MouseClick += new MouseEventHandler(TrayIconClick);
25 }
26
27 private void Form1_Load(object sender, EventArgs e)
28 {
29 AppRegKey = Registry.CurrentUser.CreateSubKey("Software\\CPUMonitor");
30
31 String[] PortNames = System.IO.Ports.SerialPort.GetPortNames();
32 Array.Sort<String>(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); });
33 cmbComPort.Items.Clear();
34 cmbComPort.Items.AddRange(PortNames);
35
36 cmbComPort.SelectedIndex = System.Convert.ToInt32(AppRegKey.GetValue("Port", "1")) - 1;
37 serSerialPort.PortName = cmbComPort.Text;
38
39 Hide();
40 }
41
42 private void NotifyLight(int Red, int Green, int Blue)
43 {
44 byte[] buffer = new byte[3];
45 buffer[0] = (byte)(0x80 | (Red & LIGHT_MAX));
46 buffer[1] = (byte)(0x40 | (Green & LIGHT_MAX));
47 buffer[2] = (byte)(0x20 | (Blue & LIGHT_MAX));
48
49 try
50 {
51 serSerialPort.PortName = cmbComPort.Text;
52 serSerialPort.Open();
53 serSerialPort.Write(buffer, 0, buffer.Length);
54 serSerialPort.Close();
55 }
56 catch (Exception e)
57 {
58
59 }
60 }
61
62 private void tmrCPUTimer_Tick(object sender, EventArgs e)
63 {
64 float CPUUsage = pcCPUUsage.NextValue();
65
66 int Red = 0;
67 int Green = 0;
68 int Blue = 0;
69
70 if (CPUUsage < 25)
71 {
72 Green = (int)((LIGHT_MAX / 25) * CPUUsage);
73 }
74 else if (CPUUsage < 50)
75 {
76 Blue = (int)((LIGHT_MAX / 25) * (CPUUsage - 25));
77 Green = LIGHT_MAX - Blue;
78 }
79 else if (CPUUsage < 75)
80 {
81 Red = (int)((LIGHT_MAX / 25) * (CPUUsage - 50));
82 Blue = LIGHT_MAX - Red;
83 }
84 else
85 {
86 Red = LIGHT_MAX;
87 }
88
89 NotifyLight(Red, Green, Blue);
90 lblCPU.Text = ((int)CPUUsage).ToString() + "%";
91 }
92
93 private void btnExit_Click(object sender, EventArgs e)
94 {
95 Application.Exit();
96 }
97
98 private void btnMinimizeToTray_Click(object sender, EventArgs e)
99 {
100 this.Hide();
101 }
102
103 private void TrayIconClick(object sender, MouseEventArgs e)
104 {
105 this.Show();
106 this.WindowState = FormWindowState.Normal;
107 }
108
109 private void cbPort_SelectedIndexChanged(object sender, EventArgs e)
110 {
111 AppRegKey.SetValue("Port", cmbComPort.SelectedIndex + 1);
112 serSerialPort.PortName = cmbComPort.Text;
113 }
114 }
115}
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj
new file mode 100644
index 000000000..d568a9dc4
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj
@@ -0,0 +1,95 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.21022</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{6040B049-4241-4FFD-B388-AACDA78D1469}</ProjectGuid>
9 <OutputType>WinExe</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>CPUMonitor</RootNamespace>
12 <AssemblyName>CPUMonitor</AssemblyName>
13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
15 <FileUpgradeFlags>
16 </FileUpgradeFlags>
17 <OldToolsVersion>3.5</OldToolsVersion>
18 <UpgradeBackupLocation />
19 </PropertyGroup>
20 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
21 <DebugSymbols>true</DebugSymbols>
22 <DebugType>full</DebugType>
23 <Optimize>false</Optimize>
24 <OutputPath>bin\Debug\</OutputPath>
25 <DefineConstants>DEBUG;TRACE</DefineConstants>
26 <ErrorReport>prompt</ErrorReport>
27 <WarningLevel>4</WarningLevel>
28 </PropertyGroup>
29 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30 <DebugType>pdbonly</DebugType>
31 <Optimize>true</Optimize>
32 <OutputPath>bin\Release\</OutputPath>
33 <DefineConstants>TRACE</DefineConstants>
34 <ErrorReport>prompt</ErrorReport>
35 <WarningLevel>4</WarningLevel>
36 </PropertyGroup>
37 <ItemGroup>
38 <Reference Include="System" />
39 <Reference Include="System.Core">
40 <RequiredTargetFramework>3.5</RequiredTargetFramework>
41 </Reference>
42 <Reference Include="System.Xml.Linq">
43 <RequiredTargetFramework>3.5</RequiredTargetFramework>
44 </Reference>
45 <Reference Include="System.Data.DataSetExtensions">
46 <RequiredTargetFramework>3.5</RequiredTargetFramework>
47 </Reference>
48 <Reference Include="System.Data" />
49 <Reference Include="System.Deployment" />
50 <Reference Include="System.Drawing" />
51 <Reference Include="System.Windows.Forms" />
52 <Reference Include="System.Xml" />
53 </ItemGroup>
54 <ItemGroup>
55 <Compile Include="CPUMonitor.cs">
56 <SubType>Form</SubType>
57 </Compile>
58 <Compile Include="CPUMonitor.Designer.cs">
59 <DependentUpon>CPUMonitor.cs</DependentUpon>
60 </Compile>
61 <Compile Include="Program.cs" />
62 <Compile Include="Properties\AssemblyInfo.cs" />
63 <EmbeddedResource Include="CPUMonitor.resx">
64 <DependentUpon>CPUMonitor.cs</DependentUpon>
65 <SubType>Designer</SubType>
66 </EmbeddedResource>
67 <EmbeddedResource Include="Properties\Resources.resx">
68 <Generator>ResXFileCodeGenerator</Generator>
69 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
70 <SubType>Designer</SubType>
71 </EmbeddedResource>
72 <Compile Include="Properties\Resources.Designer.cs">
73 <AutoGen>True</AutoGen>
74 <DependentUpon>Resources.resx</DependentUpon>
75 <DesignTime>True</DesignTime>
76 </Compile>
77 <None Include="Properties\Settings.settings">
78 <Generator>SettingsSingleFileGenerator</Generator>
79 <LastGenOutput>Settings.Designer.cs</LastGenOutput>
80 </None>
81 <Compile Include="Properties\Settings.Designer.cs">
82 <AutoGen>True</AutoGen>
83 <DependentUpon>Settings.settings</DependentUpon>
84 <DesignTimeSharedInput>True</DesignTimeSharedInput>
85 </Compile>
86 </ItemGroup>
87 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
88 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
89 Other similar extension points exist, see Microsoft.Common.targets.
90 <Target Name="BeforeBuild">
91 </Target>
92 <Target Name="AfterBuild">
93 </Target>
94 -->
95</Project> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.resx b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.resx
new file mode 100644
index 000000000..c62b1b020
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.resx
@@ -0,0 +1,132 @@
1<?xml version="1.0" encoding="utf-8"?>
2<root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <metadata name="serSerialPort.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121 <value>17, 17</value>
122 </metadata>
123 <metadata name="tmrCPUTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124 <value>137, 17</value>
125 </metadata>
126 <metadata name="pcCPUUsage.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
127 <value>262, 17</value>
128 </metadata>
129 <metadata name="nicoNotifyIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
130 <value>383, 17</value>
131 </metadata>
132</root> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Program.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Program.cs
new file mode 100644
index 000000000..cb4fd89f2
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Program.cs
@@ -0,0 +1,21 @@
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Windows.Forms;
5
6namespace CPUMonitor
7{
8 static class Program
9 {
10 /// <summary>
11 /// The main entry point for the application.
12 /// </summary>
13 [STAThread]
14 static void Main()
15 {
16 Application.EnableVisualStyles();
17 Application.SetCompatibleTextRenderingDefault(false);
18 Application.Run(new frmCPU());
19 }
20 }
21}
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/AssemblyInfo.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..85d31fcba
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
1using System.Reflection;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5// General Information about an assembly is controlled through the following
6// set of attributes. Change these attribute values to modify the information
7// associated with an assembly.
8[assembly: AssemblyTitle("CPUMonitor")]
9[assembly: AssemblyDescription("")]
10[assembly: AssemblyConfiguration("")]
11[assembly: AssemblyCompany("Microsoft")]
12[assembly: AssemblyProduct("CPUMonitor")]
13[assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
14[assembly: AssemblyTrademark("")]
15[assembly: AssemblyCulture("")]
16
17// Setting ComVisible to false makes the types in this assembly not visible
18// to COM components. If you need to access a type in this assembly from
19// COM, set the ComVisible attribute to true on that type.
20[assembly: ComVisible(false)]
21
22// The following GUID is for the ID of the typelib if this project is exposed to COM
23[assembly: Guid("3e4a61da-cdde-46de-848b-b5206d225e21")]
24
25// Version information for an assembly consists of the following four values:
26//
27// Major Version
28// Minor Version
29// Build Number
30// Revision
31//
32// You can specify all the values or you can default the Build and Revision Numbers
33// by using the '*' as shown below:
34// [assembly: AssemblyVersion("1.0.*")]
35[assembly: AssemblyVersion("1.0.0.0")]
36[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..bf80e05fc
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.239
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace CPUMonitor.Properties {
12 using System;
13
14
15 /// <summary>
16 /// A strongly-typed resource class, for looking up localized strings, etc.
17 /// </summary>
18 // This class was auto-generated by the StronglyTypedResourceBuilder
19 // class via a tool like ResGen or Visual Studio.
20 // To add or remove a member, edit your .ResX file then rerun ResGen
21 // with the /str option, or rebuild your VS project.
22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 internal class Resources {
26
27 private static global::System.Resources.ResourceManager resourceMan;
28
29 private static global::System.Globalization.CultureInfo resourceCulture;
30
31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 internal Resources() {
33 }
34
35 /// <summary>
36 /// Returns the cached ResourceManager instance used by this class.
37 /// </summary>
38 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 internal static global::System.Resources.ResourceManager ResourceManager {
40 get {
41 if (object.ReferenceEquals(resourceMan, null)) {
42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CPUMonitor.Properties.Resources", typeof(Resources).Assembly);
43 resourceMan = temp;
44 }
45 return resourceMan;
46 }
47 }
48
49 /// <summary>
50 /// Overrides the current thread's CurrentUICulture property for all
51 /// resource lookups using this strongly typed resource class.
52 /// </summary>
53 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 internal static global::System.Globalization.CultureInfo Culture {
55 get {
56 return resourceCulture;
57 }
58 set {
59 resourceCulture = value;
60 }
61 }
62 }
63}
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.resx b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.resx
new file mode 100644
index 000000000..af7dbebba
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.resx
@@ -0,0 +1,117 @@
1<?xml version="1.0" encoding="utf-8"?>
2<root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:element name="root" msdata:IsDataSet="true">
64 <xsd:complexType>
65 <xsd:choice maxOccurs="unbounded">
66 <xsd:element name="metadata">
67 <xsd:complexType>
68 <xsd:sequence>
69 <xsd:element name="value" type="xsd:string" minOccurs="0" />
70 </xsd:sequence>
71 <xsd:attribute name="name" type="xsd:string" />
72 <xsd:attribute name="type" type="xsd:string" />
73 <xsd:attribute name="mimetype" type="xsd:string" />
74 </xsd:complexType>
75 </xsd:element>
76 <xsd:element name="assembly">
77 <xsd:complexType>
78 <xsd:attribute name="alias" type="xsd:string" />
79 <xsd:attribute name="name" type="xsd:string" />
80 </xsd:complexType>
81 </xsd:element>
82 <xsd:element name="data">
83 <xsd:complexType>
84 <xsd:sequence>
85 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87 </xsd:sequence>
88 <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91 </xsd:complexType>
92 </xsd:element>
93 <xsd:element name="resheader">
94 <xsd:complexType>
95 <xsd:sequence>
96 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97 </xsd:sequence>
98 <xsd:attribute name="name" type="xsd:string" use="required" />
99 </xsd:complexType>
100 </xsd:element>
101 </xsd:choice>
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:schema>
105 <resheader name="resmimetype">
106 <value>text/microsoft-resx</value>
107 </resheader>
108 <resheader name="version">
109 <value>2.0</value>
110 </resheader>
111 <resheader name="reader">
112 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113 </resheader>
114 <resheader name="writer">
115 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117</root> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs
new file mode 100644
index 000000000..690fde3ba
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.239
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace CPUMonitor.Properties {
12
13
14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17
18 private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19
20 public static Settings Default {
21 get {
22 return defaultInstance;
23 }
24 }
25 }
26}
diff --git a/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.settings b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.settings
new file mode 100644
index 000000000..39645652a
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.settings
@@ -0,0 +1,7 @@
1<?xml version='1.0' encoding='utf-8'?>
2<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
3 <Profiles>
4 <Profile Name="(Default)" />
5 </Profiles>
6 <Settings />
7</SettingsFile>
diff --git a/lib/lufa/Projects/LEDNotifier/Config/LUFAConfig.h b/lib/lufa/Projects/LEDNotifier/Config/LUFAConfig.h
new file mode 100644
index 000000000..75713f94d
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/Config/LUFAConfig.h
@@ -0,0 +1,93 @@
1/*
2 LUFA Library
3 Copyright (C) Dean Camera, 2017.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7*/
8
9/*
10 Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaims all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29*/
30
31/** \file
32 * \brief LUFA Library Configuration Header File
33 *
34 * This header file is used to configure LUFA's compile time options,
35 * as an alternative to the compile time constants supplied through
36 * a makefile.
37 *
38 * For information on what each token does, refer to the LUFA
39 * manual section "Summary of Compile Tokens".
40 */
41
42#ifndef _LUFA_CONFIG_H_
43#define _LUFA_CONFIG_H_
44
45 #if (ARCH == ARCH_AVR8)
46
47 /* Non-USB Related Configuration Tokens: */
48// #define DISABLE_TERMINAL_CODES
49
50 /* USB Class Driver Related Tokens: */
51// #define HID_HOST_BOOT_PROTOCOL_ONLY
52// #define HID_STATETABLE_STACK_DEPTH {Insert Value Here}
53// #define HID_USAGE_STACK_DEPTH {Insert Value Here}
54// #define HID_MAX_COLLECTIONS {Insert Value Here}
55// #define HID_MAX_REPORTITEMS {Insert Value Here}
56// #define HID_MAX_REPORT_IDS {Insert Value Here}
57// #define NO_CLASS_DRIVER_AUTOFLUSH
58
59 /* General USB Driver Related Tokens: */
60// #define ORDERED_EP_CONFIG
61 #define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
62 #define USB_DEVICE_ONLY
63// #define USB_HOST_ONLY
64// #define USB_STREAM_TIMEOUT_MS {Insert Value Here}
65// #define NO_LIMITED_CONTROLLER_CONNECT
66// #define NO_SOF_EVENTS
67
68 /* USB Device Mode Driver Related Tokens: */
69// #define USE_RAM_DESCRIPTORS
70 #define USE_FLASH_DESCRIPTORS
71// #define USE_EEPROM_DESCRIPTORS
72// #define NO_INTERNAL_SERIAL
73 #define FIXED_CONTROL_ENDPOINT_SIZE 8
74 #define DEVICE_STATE_AS_GPIOR 0
75 #define FIXED_NUM_CONFIGURATIONS 1
76// #define CONTROL_ONLY_DEVICE
77// #define INTERRUPT_CONTROL_ENDPOINT
78// #define NO_DEVICE_REMOTE_WAKEUP
79// #define NO_DEVICE_SELF_POWER
80
81 /* USB Host Mode Driver Related Tokens: */
82// #define HOST_STATE_AS_GPIOR {Insert Value Here}
83// #define USB_HOST_TIMEOUT_MS {Insert Value Here}
84// #define HOST_DEVICE_SETTLE_DELAY_MS {Insert Value Here}
85// #define NO_AUTO_VBUS_MANAGEMENT
86// #define INVERTED_VBUS_ENABLE_LINE
87
88 #else
89
90 #error Unsupported architecture for this LUFA configuration file.
91
92 #endif
93#endif
diff --git a/lib/lufa/Projects/LEDNotifier/Descriptors.c b/lib/lufa/Projects/LEDNotifier/Descriptors.c
new file mode 100644
index 000000000..31e6b44b6
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/Descriptors.c
@@ -0,0 +1,245 @@
1/*
2 LUFA Library
3 Copyright (C) Dean Camera, 2017.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7*/
8
9/*
10 Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaims all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29*/
30
31/** \file
32 *
33 * USB Device Descriptors, for library use when in USB device mode. Descriptors are special
34 * computer-readable structures which the host requests upon device enumeration, to determine
35 * the device's capabilities and functions.
36 */
37
38#include "Descriptors.h"
39
40
41/** Device descriptor structure. This descriptor, located in FLASH memory, describes the overall
42 * device characteristics, including the supported USB version, control endpoint size and the
43 * number of device configurations. The descriptor is read out by the USB host when the enumeration
44 * process begins.
45 */
46const USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
47{
48 .Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
49
50 .USBSpecification = VERSION_BCD(1,1,0),
51 .Class = CDC_CSCP_CDCClass,
52 .SubClass = CDC_CSCP_NoSpecificSubclass,
53 .Protocol = CDC_CSCP_NoSpecificProtocol,
54
55 .Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
56
57 .VendorID = 0x03EB,
58 .ProductID = 0x2044,
59 .ReleaseNumber = VERSION_BCD(0,0,1),
60
61 .ManufacturerStrIndex = STRING_ID_Manufacturer,
62 .ProductStrIndex = STRING_ID_Product,
63 .SerialNumStrIndex = USE_INTERNAL_SERIAL,
64
65 .NumberOfConfigurations = FIXED_NUM_CONFIGURATIONS
66};
67
68/** Configuration descriptor structure. This descriptor, located in FLASH memory, describes the usage
69 * of the device in one of its supported configurations, including information about any device interfaces
70 * and endpoints. The descriptor is read out by the USB host during the enumeration process when selecting
71 * a configuration so that the host may correctly communicate with the USB device.
72 */
73const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
74{
75 .Config =
76 {
77 .Header = {.Size = sizeof(USB_Descriptor_Configuration_Header_t), .Type = DTYPE_Configuration},
78
79 .TotalConfigurationSize = sizeof(USB_Descriptor_Configuration_t),
80 .TotalInterfaces = 2,
81
82 .ConfigurationNumber = 1,
83 .ConfigurationStrIndex = NO_DESCRIPTOR,
84
85 .ConfigAttributes = (USB_CONFIG_ATTR_RESERVED | USB_CONFIG_ATTR_SELFPOWERED),
86
87 .MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
88 },
89
90 .CDC_CCI_Interface =
91 {
92 .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},
93
94 .InterfaceNumber = INTERFACE_ID_CDC_CCI,
95 .AlternateSetting = 0,
96
97 .TotalEndpoints = 1,
98
99 .Class = CDC_CSCP_CDCClass,
100 .SubClass = CDC_CSCP_ACMSubclass,
101 .Protocol = CDC_CSCP_ATCommandProtocol,
102
103 .InterfaceStrIndex = NO_DESCRIPTOR
104 },
105
106 .CDC_Functional_Header =
107 {
108 .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalHeader_t), .Type = DTYPE_CSInterface},
109 .Subtype = CDC_DSUBTYPE_CSInterface_Header,
110
111 .CDCSpecification = VERSION_BCD(1,1,0),
112 },
113
114 .CDC_Functional_ACM =
115 {
116 .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalACM_t), .Type = DTYPE_CSInterface},
117 .Subtype = CDC_DSUBTYPE_CSInterface_ACM,
118
119 .Capabilities = 0x06,
120 },
121
122 .CDC_Functional_Union =
123 {
124 .Header = {.Size = sizeof(USB_CDC_Descriptor_FunctionalUnion_t), .Type = DTYPE_CSInterface},
125 .Subtype = CDC_DSUBTYPE_CSInterface_Union,
126
127 .MasterInterfaceNumber = INTERFACE_ID_CDC_CCI,
128 .SlaveInterfaceNumber = INTERFACE_ID_CDC_DCI,
129 },
130
131 .CDC_NotificationEndpoint =
132 {
133 .Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
134
135 .EndpointAddress = CDC_NOTIFICATION_EPADDR,
136 .Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
137 .EndpointSize = CDC_NOTIFICATION_EPSIZE,
138 .PollingIntervalMS = 0xFF
139 },
140
141 .CDC_DCI_Interface =
142 {
143 .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},
144
145 .InterfaceNumber = INTERFACE_ID_CDC_DCI,
146 .AlternateSetting = 0,
147
148 .TotalEndpoints = 2,
149
150 .Class = CDC_CSCP_CDCDataClass,
151 .SubClass = CDC_CSCP_NoDataSubclass,
152 .Protocol = CDC_CSCP_NoDataProtocol,
153
154 .InterfaceStrIndex = NO_DESCRIPTOR
155 },
156
157 .CDC_DataOutEndpoint =
158 {
159 .Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
160
161 .EndpointAddress = CDC_RX_EPADDR,
162 .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
163 .EndpointSize = CDC_TXRX_EPSIZE,
164 .PollingIntervalMS = 0x05
165 },
166
167 .CDC_DataInEndpoint =
168 {
169 .Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
170
171 .EndpointAddress = CDC_TX_EPADDR,
172 .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
173 .EndpointSize = CDC_TXRX_EPSIZE,
174 .PollingIntervalMS = 0x05
175 }
176};
177
178/** Language descriptor structure. This descriptor, located in FLASH memory, is returned when the host requests
179 * the string descriptor with index 0 (the first index). It is actually an array of 16-bit integers, which indicate
180 * via the language ID table available at USB.org what languages the device supports for its string descriptors.
181 */
182const USB_Descriptor_String_t PROGMEM LanguageString = USB_STRING_DESCRIPTOR_ARRAY(LANGUAGE_ID_ENG);
183
184/** Manufacturer descriptor string. This is a Unicode string containing the manufacturer's details in human readable
185 * form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device
186 * Descriptor.
187 */
188const USB_Descriptor_String_t PROGMEM ManufacturerString = USB_STRING_DESCRIPTOR(L"Dean Camera");
189
190/** Product descriptor string. This is a Unicode string containing the product's details in human readable form,
191 * and is read out upon request by the host when the appropriate string ID is requested, listed in the Device
192 * Descriptor.
193 */
194const USB_Descriptor_String_t PROGMEM ProductString = USB_STRING_DESCRIPTOR(L"LED Notifier");
195
196/** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors"
197 * documentation) by the application code so that the address and size of a requested descriptor can be given
198 * to the USB library. When the device receives a Get Descriptor request on the control endpoint, this function
199 * is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the
200 * USB host.
201 */
202uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
203 const uint16_t wIndex,
204 const void** const DescriptorAddress)
205{
206 const uint8_t DescriptorType = (wValue >> 8);
207 const uint8_t DescriptorNumber = (wValue & 0xFF);
208
209 const void* Address = NULL;
210 uint16_t Size = NO_DESCRIPTOR;
211
212 switch (DescriptorType)
213 {
214 case DTYPE_Device:
215 Address = &DeviceDescriptor;
216 Size = sizeof(USB_Descriptor_Device_t);
217 break;
218 case DTYPE_Configuration:
219 Address = &ConfigurationDescriptor;
220 Size = sizeof(USB_Descriptor_Configuration_t);
221 break;
222 case DTYPE_String:
223 switch (DescriptorNumber)
224 {
225 case STRING_ID_Language:
226 Address = &LanguageString;
227 Size = pgm_read_byte(&LanguageString.Header.Size);
228 break;
229 case STRING_ID_Manufacturer:
230 Address = &ManufacturerString;
231 Size = pgm_read_byte(&ManufacturerString.Header.Size);
232 break;
233 case STRING_ID_Product:
234 Address = &ProductString;
235 Size = pgm_read_byte(&ProductString.Header.Size);
236 break;
237 }
238
239 break;
240 }
241
242 *DescriptorAddress = Address;
243 return Size;
244}
245
diff --git a/lib/lufa/Projects/LEDNotifier/Descriptors.h b/lib/lufa/Projects/LEDNotifier/Descriptors.h
new file mode 100644
index 000000000..b19682a2b
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/Descriptors.h
@@ -0,0 +1,110 @@
1/*
2 LUFA Library
3 Copyright (C) Dean Camera, 2017.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7*/
8
9/*
10 Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaims all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29*/
30
31/** \file
32 *
33 * Header file for Descriptors.c.
34 */
35
36#ifndef _DESCRIPTORS_H_
37#define _DESCRIPTORS_H_
38
39 /* Includes: */
40 #include <avr/pgmspace.h>
41
42 #include <LUFA/Drivers/USB/USB.h>
43
44 /* Macros: */
45 /** Endpoint address of the CDC device-to-host notification IN endpoint. */
46 #define CDC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | 2)
47
48 /** Endpoint address of the CDC device-to-host data IN endpoint. */
49 #define CDC_TX_EPADDR (ENDPOINT_DIR_IN | 3)
50
51 /** Endpoint address of the CDC host-to-device data OUT endpoint. */
52 #define CDC_RX_EPADDR (ENDPOINT_DIR_OUT | 4)
53
54 /** Size in bytes of the CDC device-to-host notification IN endpoint. */
55 #define CDC_NOTIFICATION_EPSIZE 8
56
57 /** Size in bytes of the CDC data IN and OUT endpoints. */
58 #define CDC_TXRX_EPSIZE 16
59
60 /* Type Defines: */
61 /** Type define for the device configuration descriptor structure. This must be defined in the
62 * application code, as the configuration descriptor contains several sub-descriptors which
63 * vary between devices, and which describe the device's usage to the host.
64 */
65 typedef struct
66 {
67 USB_Descriptor_Configuration_Header_t Config;
68
69 // CDC Command Interface
70 USB_Descriptor_Interface_t CDC_CCI_Interface;
71 USB_CDC_Descriptor_FunctionalHeader_t CDC_Functional_Header;
72 USB_CDC_Descriptor_FunctionalACM_t CDC_Functional_ACM;
73 USB_CDC_Descriptor_FunctionalUnion_t CDC_Functional_Union;
74 USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
75
76 // CDC Data Interface
77 USB_Descriptor_Interface_t CDC_DCI_Interface;
78 USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
79 USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
80 } USB_Descriptor_Configuration_t;
81
82 /** Enum for the device interface descriptor IDs within the device. Each interface descriptor
83 * should have a unique ID index associated with it, which can be used to refer to the
84 * interface from other descriptors.
85 */
86 enum InterfaceDescriptors_t
87 {
88 INTERFACE_ID_CDC_CCI = 0, /**< CDC CCI interface descriptor ID */
89 INTERFACE_ID_CDC_DCI = 1, /**< CDC DCI interface descriptor ID */
90 };
91
92 /** Enum for the device string descriptor IDs within the device. Each string descriptor should
93 * have a unique ID index associated with it, which can be used to refer to the string from
94 * other descriptors.
95 */
96 enum StringDescriptors_t
97 {
98 STRING_ID_Language = 0, /**< Supported Languages string descriptor ID (must be zero) */
99 STRING_ID_Manufacturer = 1, /**< Manufacturer string ID */
100 STRING_ID_Product = 2, /**< Product string ID */
101 };
102
103 /* Function Prototypes: */
104 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
105 const uint16_t wIndex,
106 const void** const DescriptorAddress)
107 ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
108
109#endif
110
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs
new file mode 100644
index 000000000..595083a4a
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.Designer.cs
@@ -0,0 +1,149 @@
1namespace LEDMixer
2{
3 partial class LEDMixer
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 this.tbRed = new System.Windows.Forms.TrackBar();
33 this.tbGreen = new System.Windows.Forms.TrackBar();
34 this.tbBlue = new System.Windows.Forms.TrackBar();
35 this.serSerialPort = new System.IO.Ports.SerialPort(this.components);
36 this.cbPort = new System.Windows.Forms.ComboBox();
37 this.lblRed = new System.Windows.Forms.Label();
38 this.lblBlue = new System.Windows.Forms.Label();
39 this.lblGreen = new System.Windows.Forms.Label();
40 ((System.ComponentModel.ISupportInitialize)(this.tbRed)).BeginInit();
41 ((System.ComponentModel.ISupportInitialize)(this.tbGreen)).BeginInit();
42 ((System.ComponentModel.ISupportInitialize)(this.tbBlue)).BeginInit();
43 this.SuspendLayout();
44 //
45 // tbRed
46 //
47 this.tbRed.Location = new System.Drawing.Point(54, 64);
48 this.tbRed.Maximum = 512;
49 this.tbRed.Name = "tbRed";
50 this.tbRed.Size = new System.Drawing.Size(230, 45);
51 this.tbRed.TabIndex = 0;
52 this.tbRed.Scroll += new System.EventHandler(this.tbRed_Scroll);
53 //
54 // tbGreen
55 //
56 this.tbGreen.Location = new System.Drawing.Point(54, 115);
57 this.tbGreen.Maximum = 512;
58 this.tbGreen.Name = "tbGreen";
59 this.tbGreen.Size = new System.Drawing.Size(230, 45);
60 this.tbGreen.TabIndex = 1;
61 this.tbGreen.Scroll += new System.EventHandler(this.tbGreen_Scroll);
62 //
63 // tbBlue
64 //
65 this.tbBlue.Location = new System.Drawing.Point(54, 163);
66 this.tbBlue.Maximum = 512;
67 this.tbBlue.Name = "tbBlue";
68 this.tbBlue.Size = new System.Drawing.Size(230, 45);
69 this.tbBlue.TabIndex = 2;
70 this.tbBlue.Scroll += new System.EventHandler(this.tbBlue_Scroll);
71 //
72 // cbPort
73 //
74 this.cbPort.FormattingEnabled = true;
75 this.cbPort.Location = new System.Drawing.Point(97, 12);
76 this.cbPort.Name = "cbPort";
77 this.cbPort.Size = new System.Drawing.Size(99, 21);
78 this.cbPort.TabIndex = 3;
79 this.cbPort.SelectedIndexChanged += new System.EventHandler(this.cbPort_SelectedIndexChanged);
80 //
81 // lblRed
82 //
83 this.lblRed.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
84 this.lblRed.Location = new System.Drawing.Point(3, 64);
85 this.lblRed.Name = "lblRed";
86 this.lblRed.Size = new System.Drawing.Size(48, 29);
87 this.lblRed.TabIndex = 4;
88 this.lblRed.Text = "Red";
89 this.lblRed.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
90 //
91 // lblBlue
92 //
93 this.lblBlue.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
94 this.lblBlue.Location = new System.Drawing.Point(3, 115);
95 this.lblBlue.Name = "lblGreen";
96 this.lblBlue.Size = new System.Drawing.Size(50, 27);
97 this.lblBlue.TabIndex = 5;
98 this.lblBlue.Text = "Green";
99 this.lblBlue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
100 //
101 // lblGreen
102 //
103 this.lblGreen.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
104 this.lblGreen.Location = new System.Drawing.Point(3, 163);
105 this.lblGreen.Name = "lblBlue";
106 this.lblGreen.Size = new System.Drawing.Size(50, 25);
107 this.lblGreen.TabIndex = 6;
108 this.lblGreen.Text = "Blue";
109 this.lblGreen.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
110 //
111 // LEDMixer
112 //
113 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
114 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
115 this.ClientSize = new System.Drawing.Size(284, 207);
116 this.Controls.Add(this.lblGreen);
117 this.Controls.Add(this.lblBlue);
118 this.Controls.Add(this.lblRed);
119 this.Controls.Add(this.cbPort);
120 this.Controls.Add(this.tbBlue);
121 this.Controls.Add(this.tbGreen);
122 this.Controls.Add(this.tbRed);
123 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
124 this.MaximizeBox = false;
125 this.MinimizeBox = false;
126 this.Name = "LEDMixer";
127 this.Text = "LED Mixer";
128 this.Load += new System.EventHandler(this.LEDMixer_Load);
129 ((System.ComponentModel.ISupportInitialize)(this.tbRed)).EndInit();
130 ((System.ComponentModel.ISupportInitialize)(this.tbGreen)).EndInit();
131 ((System.ComponentModel.ISupportInitialize)(this.tbBlue)).EndInit();
132 this.ResumeLayout(false);
133 this.PerformLayout();
134
135 }
136
137 #endregion
138
139 private System.Windows.Forms.TrackBar tbRed;
140 private System.Windows.Forms.TrackBar tbGreen;
141 private System.Windows.Forms.TrackBar tbBlue;
142 private System.IO.Ports.SerialPort serSerialPort;
143 private System.Windows.Forms.ComboBox cbPort;
144 private System.Windows.Forms.Label lblRed;
145 private System.Windows.Forms.Label lblBlue;
146 private System.Windows.Forms.Label lblGreen;
147 }
148}
149
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs
new file mode 100644
index 000000000..dfaffed30
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs
@@ -0,0 +1,75 @@
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9
10namespace LEDMixer
11{
12 public partial class LEDMixer : Form
13 {
14 private const int LIGHT_MAX = 0x1F;
15
16 public LEDMixer()
17 {
18 InitializeComponent();
19 }
20
21 private void LEDMixer_Load(object sender, EventArgs e)
22 {
23 String[] PortNames = System.IO.Ports.SerialPort.GetPortNames();
24 Array.Sort<String>(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); });
25 cbPort.Items.Clear();
26 cbPort.Items.AddRange(PortNames);
27
28 cbPort.SelectedIndex = 0;
29
30 tbRed.Maximum = LIGHT_MAX;
31 tbGreen.Maximum = LIGHT_MAX;
32 tbBlue.Maximum = LIGHT_MAX;
33 }
34
35 private void tbRed_Scroll(object sender, EventArgs e)
36 {
37 NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value);
38 }
39
40 private void tbGreen_Scroll(object sender, EventArgs e)
41 {
42 NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value);
43 }
44
45 private void tbBlue_Scroll(object sender, EventArgs e)
46 {
47 NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value);
48 }
49
50 private void NotifyLight(int Red, int Green, int Blue)
51 {
52 byte[] buffer = new byte[3];
53 buffer[0] = (byte)(0x80 | (Red & LIGHT_MAX));
54 buffer[1] = (byte)(0x40 | (Green & LIGHT_MAX));
55 buffer[2] = (byte)(0x20 | (Blue & LIGHT_MAX));
56
57 try
58 {
59 serSerialPort.PortName = cbPort.Text;
60 serSerialPort.Open();
61 serSerialPort.Write(buffer, 0, buffer.Length);
62 serSerialPort.Close();
63 }
64 catch (Exception e)
65 {
66
67 }
68 }
69
70 private void cbPort_SelectedIndexChanged(object sender, EventArgs e)
71 {
72 NotifyLight(tbRed.Value, tbGreen.Value, tbBlue.Value);
73 }
74 }
75}
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj
new file mode 100644
index 000000000..6287ddcff
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj
@@ -0,0 +1,95 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.21022</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{A7814DA7-FA30-4A3D-878F-2E1975F9B27D}</ProjectGuid>
9 <OutputType>WinExe</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>LEDMixer</RootNamespace>
12 <AssemblyName>LEDMixer</AssemblyName>
13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
15 <FileUpgradeFlags>
16 </FileUpgradeFlags>
17 <OldToolsVersion>3.5</OldToolsVersion>
18 <UpgradeBackupLocation />
19 </PropertyGroup>
20 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
21 <DebugSymbols>true</DebugSymbols>
22 <DebugType>full</DebugType>
23 <Optimize>false</Optimize>
24 <OutputPath>bin\Debug\</OutputPath>
25 <DefineConstants>DEBUG;TRACE</DefineConstants>
26 <ErrorReport>prompt</ErrorReport>
27 <WarningLevel>4</WarningLevel>
28 </PropertyGroup>
29 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30 <DebugType>pdbonly</DebugType>
31 <Optimize>true</Optimize>
32 <OutputPath>bin\Release\</OutputPath>
33 <DefineConstants>TRACE</DefineConstants>
34 <ErrorReport>prompt</ErrorReport>
35 <WarningLevel>4</WarningLevel>
36 </PropertyGroup>
37 <ItemGroup>
38 <Reference Include="System" />
39 <Reference Include="System.Core">
40 <RequiredTargetFramework>3.5</RequiredTargetFramework>
41 </Reference>
42 <Reference Include="System.Xml.Linq">
43 <RequiredTargetFramework>3.5</RequiredTargetFramework>
44 </Reference>
45 <Reference Include="System.Data.DataSetExtensions">
46 <RequiredTargetFramework>3.5</RequiredTargetFramework>
47 </Reference>
48 <Reference Include="System.Data" />
49 <Reference Include="System.Deployment" />
50 <Reference Include="System.Drawing" />
51 <Reference Include="System.Windows.Forms" />
52 <Reference Include="System.Xml" />
53 </ItemGroup>
54 <ItemGroup>
55 <Compile Include="LEDMixer.cs">
56 <SubType>Form</SubType>
57 </Compile>
58 <Compile Include="LEDMixer.Designer.cs">
59 <DependentUpon>LEDMixer.cs</DependentUpon>
60 </Compile>
61 <Compile Include="Program.cs" />
62 <Compile Include="Properties\AssemblyInfo.cs" />
63 <EmbeddedResource Include="LEDMixer.resx">
64 <DependentUpon>LEDMixer.cs</DependentUpon>
65 <SubType>Designer</SubType>
66 </EmbeddedResource>
67 <EmbeddedResource Include="Properties\Resources.resx">
68 <Generator>ResXFileCodeGenerator</Generator>
69 <LastGenOutput>Resources.Designer.cs</LastGenOutput>
70 <SubType>Designer</SubType>
71 </EmbeddedResource>
72 <Compile Include="Properties\Resources.Designer.cs">
73 <AutoGen>True</AutoGen>
74 <DependentUpon>Resources.resx</DependentUpon>
75 <DesignTime>True</DesignTime>
76 </Compile>
77 <None Include="Properties\Settings.settings">
78 <Generator>SettingsSingleFileGenerator</Generator>
79 <LastGenOutput>Settings.Designer.cs</LastGenOutput>
80 </None>
81 <Compile Include="Properties\Settings.Designer.cs">
82 <AutoGen>True</AutoGen>
83 <DependentUpon>Settings.settings</DependentUpon>
84 <DesignTimeSharedInput>True</DesignTimeSharedInput>
85 </Compile>
86 </ItemGroup>
87 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
88 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
89 Other similar extension points exist, see Microsoft.Common.targets.
90 <Target Name="BeforeBuild">
91 </Target>
92 <Target Name="AfterBuild">
93 </Target>
94 -->
95</Project> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx
new file mode 100644
index 000000000..0601840d7
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/LEDMixer.resx
@@ -0,0 +1,123 @@
1<?xml version="1.0" encoding="utf-8"?>
2<root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <metadata name="serSerialPort.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121 <value>17, 17</value>
122 </metadata>
123</root> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Program.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Program.cs
new file mode 100644
index 000000000..8958f86d2
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Program.cs
@@ -0,0 +1,21 @@
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Windows.Forms;
5
6namespace LEDMixer
7{
8 static class Program
9 {
10 /// <summary>
11 /// The main entry point for the application.
12 /// </summary>
13 [STAThread]
14 static void Main()
15 {
16 Application.EnableVisualStyles();
17 Application.SetCompatibleTextRenderingDefault(false);
18 Application.Run(new LEDMixer());
19 }
20 }
21}
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..c88194381
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
1using System.Reflection;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5// General Information about an assembly is controlled through the following
6// set of attributes. Change these attribute values to modify the information
7// associated with an assembly.
8[assembly: AssemblyTitle("LEDMixer")]
9[assembly: AssemblyDescription("")]
10[assembly: AssemblyConfiguration("")]
11[assembly: AssemblyCompany("Microsoft")]
12[assembly: AssemblyProduct("LEDMixer")]
13[assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
14[assembly: AssemblyTrademark("")]
15[assembly: AssemblyCulture("")]
16
17// Setting ComVisible to false makes the types in this assembly not visible
18// to COM components. If you need to access a type in this assembly from
19// COM, set the ComVisible attribute to true on that type.
20[assembly: ComVisible(false)]
21
22// The following GUID is for the ID of the typelib if this project is exposed to COM
23[assembly: Guid("335c1112-9aa6-42a0-9765-5cc6deb78c88")]
24
25// Version information for an assembly consists of the following four values:
26//
27// Major Version
28// Minor Version
29// Build Number
30// Revision
31//
32// You can specify all the values or you can default the Build and Revision Numbers
33// by using the '*' as shown below:
34// [assembly: AssemblyVersion("1.0.*")]
35[assembly: AssemblyVersion("1.0.0.0")]
36[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..53e3f2e0b
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.239
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace LEDMixer.Properties {
12 using System;
13
14
15 /// <summary>
16 /// A strongly-typed resource class, for looking up localized strings, etc.
17 /// </summary>
18 // This class was auto-generated by the StronglyTypedResourceBuilder
19 // class via a tool like ResGen or Visual Studio.
20 // To add or remove a member, edit your .ResX file then rerun ResGen
21 // with the /str option, or rebuild your VS project.
22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 internal class Resources {
26
27 private static global::System.Resources.ResourceManager resourceMan;
28
29 private static global::System.Globalization.CultureInfo resourceCulture;
30
31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 internal Resources() {
33 }
34
35 /// <summary>
36 /// Returns the cached ResourceManager instance used by this class.
37 /// </summary>
38 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 internal static global::System.Resources.ResourceManager ResourceManager {
40 get {
41 if (object.ReferenceEquals(resourceMan, null)) {
42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LEDMixer.Properties.Resources", typeof(Resources).Assembly);
43 resourceMan = temp;
44 }
45 return resourceMan;
46 }
47 }
48
49 /// <summary>
50 /// Overrides the current thread's CurrentUICulture property for all
51 /// resource lookups using this strongly typed resource class.
52 /// </summary>
53 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 internal static global::System.Globalization.CultureInfo Culture {
55 get {
56 return resourceCulture;
57 }
58 set {
59 resourceCulture = value;
60 }
61 }
62 }
63}
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx
new file mode 100644
index 000000000..af7dbebba
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.resx
@@ -0,0 +1,117 @@
1<?xml version="1.0" encoding="utf-8"?>
2<root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:element name="root" msdata:IsDataSet="true">
64 <xsd:complexType>
65 <xsd:choice maxOccurs="unbounded">
66 <xsd:element name="metadata">
67 <xsd:complexType>
68 <xsd:sequence>
69 <xsd:element name="value" type="xsd:string" minOccurs="0" />
70 </xsd:sequence>
71 <xsd:attribute name="name" type="xsd:string" />
72 <xsd:attribute name="type" type="xsd:string" />
73 <xsd:attribute name="mimetype" type="xsd:string" />
74 </xsd:complexType>
75 </xsd:element>
76 <xsd:element name="assembly">
77 <xsd:complexType>
78 <xsd:attribute name="alias" type="xsd:string" />
79 <xsd:attribute name="name" type="xsd:string" />
80 </xsd:complexType>
81 </xsd:element>
82 <xsd:element name="data">
83 <xsd:complexType>
84 <xsd:sequence>
85 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87 </xsd:sequence>
88 <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91 </xsd:complexType>
92 </xsd:element>
93 <xsd:element name="resheader">
94 <xsd:complexType>
95 <xsd:sequence>
96 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97 </xsd:sequence>
98 <xsd:attribute name="name" type="xsd:string" use="required" />
99 </xsd:complexType>
100 </xsd:element>
101 </xsd:choice>
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:schema>
105 <resheader name="resmimetype">
106 <value>text/microsoft-resx</value>
107 </resheader>
108 <resheader name="version">
109 <value>2.0</value>
110 </resheader>
111 <resheader name="reader">
112 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113 </resheader>
114 <resheader name="writer">
115 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117</root> \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs
new file mode 100644
index 000000000..d79f28b80
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.239
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace LEDMixer.Properties {
12
13
14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17
18 private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19
20 public static Settings Default {
21 get {
22 return defaultInstance;
23 }
24 }
25 }
26}
diff --git a/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings
new file mode 100644
index 000000000..39645652a
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.settings
@@ -0,0 +1,7 @@
1<?xml version='1.0' encoding='utf-8'?>
2<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
3 <Profiles>
4 <Profile Name="(Default)" />
5 </Profiles>
6 <Settings />
7</SettingsFile>
diff --git a/lib/lufa/Projects/LEDNotifier/LEDNotifier.c b/lib/lufa/Projects/LEDNotifier/LEDNotifier.c
new file mode 100644
index 000000000..f399e1164
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDNotifier.c
@@ -0,0 +1,178 @@
1/*
2 LUFA Library
3 Copyright (C) Dean Camera, 2017.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7*/
8
9/*
10 Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaims all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29*/
30
31/** \file
32 *
33 * Main source file for the LEDNotfier project. This file contains the main tasks of
34 * the project and is responsible for the initial application hardware configuration.
35 */
36
37#include "LEDNotifier.h"
38
39/** LUFA CDC Class driver interface configuration and state information. This structure is
40 * passed to all CDC Class driver functions, so that multiple instances of the same class
41 * within a device can be differentiated from one another.
42 */
43USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface =
44 {
45 .Config =
46 {
47 .ControlInterfaceNumber = INTERFACE_ID_CDC_CCI,
48 .DataINEndpoint =
49 {
50 .Address = CDC_TX_EPADDR,
51 .Size = CDC_TXRX_EPSIZE,
52 .Banks = 1,
53 },
54 .DataOUTEndpoint =
55 {
56 .Address = CDC_RX_EPADDR,
57 .Size = CDC_TXRX_EPSIZE,
58 .Banks = 1,
59 },
60 .NotificationEndpoint =
61 {
62 .Address = CDC_NOTIFICATION_EPADDR,
63 .Size = CDC_NOTIFICATION_EPSIZE,
64 .Banks = 1,
65 },
66 },
67 };
68
69/** Counter for the software PWM. */
70static volatile uint8_t SoftPWM_Count;
71
72/** Duty cycle for the first software PWM channel. */
73static volatile uint8_t SoftPWM_Channel1_Duty;
74
75/** Duty cycle for the second software PWM channel. */
76static volatile uint8_t SoftPWM_Channel2_Duty;
77
78/** Duty cycle for the third software PWM channel. */
79static volatile uint8_t SoftPWM_Channel3_Duty;
80
81/** Standard file stream for the CDC interface when set up, so that the virtual CDC COM port can be
82 * used like any regular character stream in the C APIs.
83 */
84static FILE USBSerialStream;
85
86
87/** Interrupt handler for managing the software PWM channels for the LEDs */
88ISR(TIMER0_COMPA_vect, ISR_BLOCK)
89{
90 uint8_t LEDMask = LEDS_ALL_LEDS;
91
92 if (++SoftPWM_Count == 0b00011111)
93 SoftPWM_Count = 0;
94
95 if (SoftPWM_Count >= SoftPWM_Channel1_Duty)
96 LEDMask &= ~LEDS_LED1;
97
98 if (SoftPWM_Count >= SoftPWM_Channel2_Duty)
99 LEDMask &= ~LEDS_LED2;
100
101 if (SoftPWM_Count >= SoftPWM_Channel3_Duty)
102 LEDMask &= ~LEDS_LED3;
103
104 LEDs_SetAllLEDs(LEDMask);
105}
106
107/** Main program entry point. This routine contains the overall program flow, including initial
108 * setup of all components and the main program loop.
109 */
110int main(void)
111{
112 SetupHardware();
113
114 /* Create a regular blocking character stream for the interface so that it can be used with the stdio.h functions */
115 CDC_Device_CreateBlockingStream(&VirtualSerial_CDC_Interface, &USBSerialStream);
116
117 GlobalInterruptEnable();
118
119 for (;;)
120 {
121 /* Read in next LED colour command from the host */
122 uint8_t ColourUpdate = fgetc(&USBSerialStream);
123
124 /* Top 3 bits select the LED, bottom 5 control the brightness */
125 uint8_t Channel = (ColourUpdate & 0b11100000);
126 uint8_t Duty = (ColourUpdate & 0b00011111);
127
128 if (Channel & (1 << 5))
129 SoftPWM_Channel1_Duty = Duty;
130
131 if (Channel & (1 << 6))
132 SoftPWM_Channel2_Duty = Duty;
133
134 if (Channel & (1 << 7))
135 SoftPWM_Channel3_Duty = Duty;
136
137 fputc(&USBSerialStream, ColourUpdate);
138
139 CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
140 USB_USBTask();
141 }
142}
143
144/** Configures the board hardware and chip peripherals for the demo's functionality. */
145void SetupHardware(void)
146{
147#if (ARCH == ARCH_AVR8)
148 /* Disable watchdog if enabled by bootloader/fuses */
149 MCUSR &= ~(1 << WDRF);
150 wdt_disable();
151
152 /* Disable clock division */
153 clock_prescale_set(clock_div_1);
154#endif
155
156 /* Hardware Initialization */
157 LEDs_Init();
158 USB_Init();
159
160 /* Timer Initialization */
161 OCR0A = 100;
162 TCCR0A = (1 << WGM01);
163 TCCR0B = (1 << CS00);
164 TIMSK0 = (1 << OCIE0A);
165}
166
167/** Event handler for the library USB Configuration Changed event. */
168void EVENT_USB_Device_ConfigurationChanged(void)
169{
170 CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
171}
172
173/** Event handler for the library USB Control Request reception event. */
174void EVENT_USB_Device_ControlRequest(void)
175{
176 CDC_Device_ProcessControlRequest(&VirtualSerial_CDC_Interface);
177}
178
diff --git a/lib/lufa/Projects/LEDNotifier/LEDNotifier.h b/lib/lufa/Projects/LEDNotifier/LEDNotifier.h
new file mode 100644
index 000000000..f094d43e5
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDNotifier.h
@@ -0,0 +1,60 @@
1/*
2 LUFA Library
3 Copyright (C) Dean Camera, 2017.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7*/
8
9/*
10 Copyright 2017 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all copies and that both that the copyright notice and this
16 permission notice and warranty disclaimer appear in supporting
17 documentation, and that the name of the author not be used in
18 advertising or publicity pertaining to distribution of the
19 software without specific, written prior permission.
20
21 The author disclaims all warranties with regard to this
22 software, including all implied warranties of merchantability
23 and fitness. In no event shall the author be liable for any
24 special, indirect or consequential damages or any damages
25 whatsoever resulting from loss of use, data or profits, whether
26 in an action of contract, negligence or other tortious action,
27 arising out of or in connection with the use or performance of
28 this software.
29*/
30
31/** \file
32 *
33 * Header file for LEDNotifier.c.
34 */
35
36#ifndef _LEDNOTIFIER_H_
37#define _LEDNOTIFIER_H_
38
39 /* Includes: */
40 #include <avr/io.h>
41 #include <avr/wdt.h>
42 #include <avr/power.h>
43 #include <avr/interrupt.h>
44 #include <string.h>
45 #include <stdio.h>
46
47 #include "Descriptors.h"
48
49 #include <LUFA/Drivers/Board/LEDs.h>
50 #include <LUFA/Drivers/USB/USB.h>
51 #include <LUFA/Platform/Platform.h>
52
53 /* Function Prototypes: */
54 void SetupHardware(void);
55
56 void EVENT_USB_Device_ConfigurationChanged(void);
57 void EVENT_USB_Device_ControlRequest(void);
58
59#endif
60
diff --git a/lib/lufa/Projects/LEDNotifier/LEDNotifier.txt b/lib/lufa/Projects/LEDNotifier/LEDNotifier.txt
new file mode 100644
index 000000000..53728f448
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LEDNotifier.txt
@@ -0,0 +1,63 @@
1/** \file
2 *
3 * This file contains special DoxyGen information for the generation of the main page and other special
4 * documentation pages. It is not a project source file.
5 */
6
7/** \mainpage USB LED Notifier Project
8 *
9 * \section Sec_Compat Demo Compatibility:
10 *
11 * The following list indicates what microcontrollers are compatible with this demo.
12 *
13 * \li AT90USB646
14 *
15 * \section Sec_Info USB Information:
16 *
17 * The following table gives a rundown of the USB utilization of this demo.
18 *
19 * <table>
20 * <tr>
21 * <td><b>USB Mode:</b></td>
22 * <td>Device</td>
23 * </tr>
24 * <tr>
25 * <td><b>USB Class:</b></td>
26 * <td>Communications Device Class (CDC)</td>
27 * </tr>
28 * <tr>
29 * <td><b>USB Subclass:</b></td>
30 * <td>Abstract Control Model (ACM)</td>
31 * </tr>
32 * <tr>
33 * <td><b>Relevant Standards:</b></td>
34 * <td>USBIF CDC Class Standard</td>
35 * </tr>
36 * <tr>
37 * <td><b>Supported USB Speeds:</b></td>
38 * <td>Full Speed Mode</td>
39 * </tr>
40 * </table>
41 *
42 * \section Sec_Description Project Description:
43 *
44 * USB LED Notifier Project. This project is designed for the Busware BUI board, however it can run easily on any
45 * USB AVR. It is a generic RGB LED controller (via a three channel software PWM) which listens for commands from the
46 * host on a CDC virtual serial port. When new commands are received, it updates the board LEDs.
47 *
48 * This can be controlled with any host application that can write to the virtual serial port, allowing it to become
49 * a visual notification system for any number of custom host applications, such as a new unread email notifier.
50 *
51 * \section Sec_Options Project Options
52 *
53 * The following defines can be found in this project, which can control the project behaviour when defined, or changed in value.
54 *
55 * <table>
56 * <tr>
57 * <td>
58 * None
59 * </td>
60 * </tr>
61 * </table>
62 */
63
diff --git a/lib/lufa/Projects/LEDNotifier/LUFA LED Notifier.inf b/lib/lufa/Projects/LEDNotifier/LUFA LED Notifier.inf
new file mode 100644
index 000000000..dc3f0e74a
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/LUFA LED Notifier.inf
@@ -0,0 +1,66 @@
1;************************************************************
2; Windows USB CDC ACM Setup File
3; Copyright (c) 2000 Microsoft Corporation
4;************************************************************
5
6[DefaultInstall]
7CopyINF="LUFA LED Notifier.inf"
8
9[Version]
10Signature="$Windows NT$"
11Class=Ports
12ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
13Provider=%MFGNAME%
14DriverVer=7/1/2012,10.0.0.0
15
16[Manufacturer]
17%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
18
19[SourceDisksNames]
20
21[SourceDisksFiles]
22
23[DestinationDirs]
24DefaultDestDir=12
25
26[DriverInstall]
27Include=mdmcpq.inf
28CopyFiles=FakeModemCopyFileSection
29AddReg=DriverInstall.AddReg
30
31[DriverInstall.Services]
32Include=mdmcpq.inf
33AddService=usbser, 0x00000002, LowerFilter_Service_Inst
34
35[DriverInstall.AddReg]
36HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
37
38;------------------------------------------------------------------------------
39; Vendor and Product ID Definitions
40;------------------------------------------------------------------------------
41; When developing your USB device, the VID and PID used in the PC side
42; application program and the firmware on the microcontroller must match.
43; Modify the below line to use your VID and PID. Use the format as shown below.
44; Note: One INF file can be used for multiple devices with different VID and PIDs.
45; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
46;------------------------------------------------------------------------------
47[DeviceList]
48%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
49
50[DeviceList.NTx86]
51%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
52
53[DeviceList.NTamd64]
54%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
55
56[DeviceList.NTia64]
57%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_2044
58
59;------------------------------------------------------------------------------
60; String Definitions
61;------------------------------------------------------------------------------
62;Modify these strings to customize your device
63;------------------------------------------------------------------------------
64[Strings]
65MFGNAME="http://www.lufa-lib.org"
66DESCRIPTION="LUFA CDC-ACM Virtual Serial Port" \ No newline at end of file
diff --git a/lib/lufa/Projects/LEDNotifier/asf.xml b/lib/lufa/Projects/LEDNotifier/asf.xml
new file mode 100644
index 000000000..01f346838
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/asf.xml
@@ -0,0 +1,51 @@
1<asf xmlversion="1.0">
2 <project caption="LED Notifier Widget" id="lufa.projects.led_notifier.avr8">
3 <require idref="lufa.projects.led_notifier"/>
4 <require idref="lufa.boards.dummy.avr8"/>
5 <generator value="as5_8"/>
6
7 <device-support value="at90usb1287"/>
8 <config name="lufa.drivers.board.name" value="usbkey"/>
9
10 <build type="define" name="F_CPU" value="8000000UL"/>
11 <build type="define" name="F_USB" value="8000000UL"/>
12 </project>
13
14 <module type="application" id="lufa.projects.led_notifier" caption="LED Notifier Widget">
15 <info type="description" value="summary">
16 RGB LED notification widget project.
17 </info>
18
19 <info type="gui-flag" value="move-to-root"/>
20
21 <info type="keyword" value="Technology">
22 <keyword value="Class Driver APIs"/>
23 <keyword value="USB Device"/>
24 <keyword value="CDC Class"/>
25 </info>
26
27 <device-support-alias value="lufa_avr8"/>
28 <device-support-alias value="lufa_xmega"/>
29 <device-support-alias value="lufa_uc3"/>
30
31 <build type="distribute" subtype="user-file" value="doxyfile"/>
32 <build type="distribute" subtype="user-file" value="LEDNotifier.txt"/>
33 <build type="distribute" subtype="user-file" value="LUFA LED Notifier.inf"/>
34 <build type="distribute" subtype="directory" value="CPUUsageApp"/>
35 <build type="distribute" subtype="directory" value="LEDMixerApp"/>
36
37 <build type="c-source" value="LEDNotifier.c"/>
38 <build type="c-source" value="Descriptors.c"/>
39 <build type="header-file" value="LEDNotifier.h"/>
40 <build type="header-file" value="Descriptors.h"/>
41
42 <build type="module-config" subtype="path" value="Config"/>
43 <build type="header-file" value="Config/LUFAConfig.h"/>
44
45 <require idref="lufa.common"/>
46 <require idref="lufa.platform"/>
47 <require idref="lufa.drivers.usb"/>
48 <require idref="lufa.drivers.board"/>
49 <require idref="lufa.drivers.board.leds"/>
50 </module>
51</asf>
diff --git a/lib/lufa/Projects/LEDNotifier/doxyfile b/lib/lufa/Projects/LEDNotifier/doxyfile
new file mode 100644
index 000000000..89391e8a6
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/doxyfile
@@ -0,0 +1,2397 @@
1# Doxyfile 1.8.9
2
3# This file describes the settings to be used by the documentation system
4# doxygen (www.doxygen.org) for a project.
5#
6# All text after a double hash (##) is considered a comment and is placed in
7# front of the TAG it is preceding.
8#
9# All text after a single hash (#) is considered a comment and will be ignored.
10# The format is:
11# TAG = value [value, ...]
12# For lists, items can also be appended using:
13# TAG += value [value, ...]
14# Values that contain spaces should be placed between quotes (\" \").
15
16#---------------------------------------------------------------------------
17# Project related configuration options
18#---------------------------------------------------------------------------
19
20# This tag specifies the encoding used for all characters in the config file
21# that follow. The default is UTF-8 which is also the encoding used for all text
22# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
23# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
24# for the list of possible encodings.
25# The default value is: UTF-8.
26
27DOXYFILE_ENCODING = UTF-8
28
29# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
30# double-quotes, unless you are using Doxywizard) that should identify the
31# project for which the documentation is generated. This name is used in the
32# title of most generated pages and in a few other places.
33# The default value is: My Project.
34
35PROJECT_NAME = "LUFA Library - USB LED Notifier Project"
36
37# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
38# could be handy for archiving the generated documentation or if some version
39# control system is used.
40
41PROJECT_NUMBER =
42
43# Using the PROJECT_BRIEF tag one can provide an optional one line description
44# for a project that appears at the top of each page and should give viewer a
45# quick idea about the purpose of the project. Keep the description short.
46
47PROJECT_BRIEF =
48
49# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
50# in the documentation. The maximum height of the logo should not exceed 55
51# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
52# the logo to the output directory.
53
54PROJECT_LOGO =
55
56# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57# into which the generated documentation will be written. If a relative path is
58# entered, it will be relative to the location where doxygen was started. If
59# left blank the current directory will be used.
60
61OUTPUT_DIRECTORY = ./Documentation/
62
63# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
64# directories (in 2 levels) under the output directory of each output format and
65# will distribute the generated files over these directories. Enabling this
66# option can be useful when feeding doxygen a huge amount of source files, where
67# putting all generated files in the same directory would otherwise causes
68# performance problems for the file system.
69# The default value is: NO.
70
71CREATE_SUBDIRS = NO
72
73# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74# characters to appear in the names of generated files. If set to NO, non-ASCII
75# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
76# U+3044.
77# The default value is: NO.
78
79ALLOW_UNICODE_NAMES = NO
80
81# The OUTPUT_LANGUAGE tag is used to specify the language in which all
82# documentation generated by doxygen is written. Doxygen will use this
83# information to generate all constant output in the proper language.
84# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
85# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
86# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
87# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
88# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
89# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
90# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
91# Ukrainian and Vietnamese.
92# The default value is: English.
93
94OUTPUT_LANGUAGE = English
95
96# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
97# descriptions after the members that are listed in the file and class
98# documentation (similar to Javadoc). Set to NO to disable this.
99# The default value is: YES.
100
101BRIEF_MEMBER_DESC = YES
102
103# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
104# description of a member or function before the detailed description
105#
106# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
107# brief descriptions will be completely suppressed.
108# The default value is: YES.
109
110REPEAT_BRIEF = YES
111
112# This tag implements a quasi-intelligent brief description abbreviator that is
113# used to form the text in various listings. Each string in this list, if found
114# as the leading text of the brief description, will be stripped from the text
115# and the result, after processing the whole list, is used as the annotated
116# text. Otherwise, the brief description is used as-is. If left blank, the
117# following values are used ($name is automatically replaced with the name of
118# the entity):The $name class, The $name widget, The $name file, is, provides,
119# specifies, contains, represents, a, an and the.
120
121ABBREVIATE_BRIEF = "The $name class" \
122 "The $name widget" \
123 "The $name file" \
124 is \
125 provides \
126 specifies \
127 contains \
128 represents \
129 a \
130 an \
131 the
132
133# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
134# doxygen will generate a detailed section even if there is only a brief
135# description.
136# The default value is: NO.
137
138ALWAYS_DETAILED_SEC = NO
139
140# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
141# inherited members of a class in the documentation of that class as if those
142# members were ordinary class members. Constructors, destructors and assignment
143# operators of the base classes will not be shown.
144# The default value is: NO.
145
146INLINE_INHERITED_MEMB = NO
147
148# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
149# before files name in the file list and in the header files. If set to NO the
150# shortest path that makes the file name unique will be used
151# The default value is: YES.
152
153FULL_PATH_NAMES = YES
154
155# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
156# Stripping is only done if one of the specified strings matches the left-hand
157# part of the path. The tag can be used to show relative paths in the file list.
158# If left blank the directory from which doxygen is run is used as the path to
159# strip.
160#
161# Note that you can specify absolute paths here, but also relative paths, which
162# will be relative from the directory where doxygen is started.
163# This tag requires that the tag FULL_PATH_NAMES is set to YES.
164
165STRIP_FROM_PATH =
166
167# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
168# path mentioned in the documentation of a class, which tells the reader which
169# header file to include in order to use a class. If left blank only the name of
170# the header file containing the class definition is used. Otherwise one should
171# specify the list of include paths that are normally passed to the compiler
172# using the -I flag.
173
174STRIP_FROM_INC_PATH =
175
176# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
177# less readable) file names. This can be useful is your file systems doesn't
178# support long names like on DOS, Mac, or CD-ROM.
179# The default value is: NO.
180
181SHORT_NAMES = YES
182
183# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
184# first line (until the first dot) of a Javadoc-style comment as the brief
185# description. If set to NO, the Javadoc-style will behave just like regular Qt-
186# style comments (thus requiring an explicit @brief command for a brief
187# description.)
188# The default value is: NO.
189
190JAVADOC_AUTOBRIEF = NO
191
192# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
193# line (until the first dot) of a Qt-style comment as the brief description. If
194# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
195# requiring an explicit \brief command for a brief description.)
196# The default value is: NO.
197
198QT_AUTOBRIEF = NO
199
200# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
201# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
202# a brief description. This used to be the default behavior. The new default is
203# to treat a multi-line C++ comment block as a detailed description. Set this
204# tag to YES if you prefer the old behavior instead.
205#
206# Note that setting this tag to YES also means that rational rose comments are
207# not recognized any more.
208# The default value is: NO.
209
210MULTILINE_CPP_IS_BRIEF = NO
211
212# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
213# documentation from any documented member that it re-implements.
214# The default value is: YES.
215
216INHERIT_DOCS = YES
217
218# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
219# page for each member. If set to NO, the documentation of a member will be part
220# of the file/class/namespace that contains it.
221# The default value is: NO.
222
223SEPARATE_MEMBER_PAGES = NO
224
225# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
226# uses this value to replace tabs by spaces in code fragments.
227# Minimum value: 1, maximum value: 16, default value: 4.
228
229TAB_SIZE = 4
230
231# This tag can be used to specify a number of aliases that act as commands in
232# the documentation. An alias has the form:
233# name=value
234# For example adding
235# "sideeffect=@par Side Effects:\n"
236# will allow you to put the command \sideeffect (or @sideeffect) in the
237# documentation, which will result in a user-defined paragraph with heading
238# "Side Effects:". You can put \n's in the value part of an alias to insert
239# newlines.
240
241ALIASES =
242
243# This tag can be used to specify a number of word-keyword mappings (TCL only).
244# A mapping has the form "name=value". For example adding "class=itcl::class"
245# will allow you to use the command class in the itcl::class meaning.
246
247TCL_SUBST =
248
249# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
250# only. Doxygen will then generate output that is more tailored for C. For
251# instance, some of the names that are used will be different. The list of all
252# members will be omitted, etc.
253# The default value is: NO.
254
255OPTIMIZE_OUTPUT_FOR_C = YES
256
257# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
258# Python sources only. Doxygen will then generate output that is more tailored
259# for that language. For instance, namespaces will be presented as packages,
260# qualified scopes will look different, etc.
261# The default value is: NO.
262
263OPTIMIZE_OUTPUT_JAVA = NO
264
265# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
266# sources. Doxygen will then generate output that is tailored for Fortran.
267# The default value is: NO.
268
269OPTIMIZE_FOR_FORTRAN = NO
270
271# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
272# sources. Doxygen will then generate output that is tailored for VHDL.
273# The default value is: NO.
274
275OPTIMIZE_OUTPUT_VHDL = NO
276
277# Doxygen selects the parser to use depending on the extension of the files it
278# parses. With this tag you can assign which parser to use for a given
279# extension. Doxygen has a built-in mapping, but you can override or extend it
280# using this tag. The format is ext=language, where ext is a file extension, and
281# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
282# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
283# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
284# Fortran. In the later case the parser tries to guess whether the code is fixed
285# or free formatted code, this is the default for Fortran type files), VHDL. For
286# instance to make doxygen treat .inc files as Fortran files (default is PHP),
287# and .f files as C (default is Fortran), use: inc=Fortran f=C.
288#
289# Note: For files without extension you can use no_extension as a placeholder.
290#
291# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
292# the files are not read by doxygen.
293
294EXTENSION_MAPPING =
295
296# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
297# according to the Markdown format, which allows for more readable
298# documentation. See http://daringfireball.net/projects/markdown/ for details.
299# The output of markdown processing is further processed by doxygen, so you can
300# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
301# case of backward compatibilities issues.
302# The default value is: YES.
303
304MARKDOWN_SUPPORT = NO
305
306# When enabled doxygen tries to link words that correspond to documented
307# classes, or namespaces to their corresponding documentation. Such a link can
308# be prevented in individual cases by putting a % sign in front of the word or
309# globally by setting AUTOLINK_SUPPORT to NO.
310# The default value is: YES.
311
312AUTOLINK_SUPPORT = YES
313
314# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
315# to include (a tag file for) the STL sources as input, then you should set this
316# tag to YES in order to let doxygen match functions declarations and
317# definitions whose arguments contain STL classes (e.g. func(std::string);
318# versus func(std::string) {}). This also make the inheritance and collaboration
319# diagrams that involve STL classes more complete and accurate.
320# The default value is: NO.
321
322BUILTIN_STL_SUPPORT = NO
323
324# If you use Microsoft's C++/CLI language, you should set this option to YES to
325# enable parsing support.
326# The default value is: NO.
327
328CPP_CLI_SUPPORT = NO
329
330# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
331# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
332# will parse them like normal C++ but will assume all classes use public instead
333# of private inheritance when no explicit protection keyword is present.
334# The default value is: NO.
335
336SIP_SUPPORT = NO
337
338# For Microsoft's IDL there are propget and propput attributes to indicate
339# getter and setter methods for a property. Setting this option to YES will make
340# doxygen to replace the get and set methods by a property in the documentation.
341# This will only work if the methods are indeed getting or setting a simple
342# type. If this is not the case, or you want to show the methods anyway, you
343# should set this option to NO.
344# The default value is: YES.
345
346IDL_PROPERTY_SUPPORT = YES
347
348# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
349# tag is set to YES then doxygen will reuse the documentation of the first
350# member in the group (if any) for the other members of the group. By default
351# all members of a group must be documented explicitly.
352# The default value is: NO.
353
354DISTRIBUTE_GROUP_DOC = NO
355
356# Set the SUBGROUPING tag to YES to allow class member groups of the same type
357# (for instance a group of public functions) to be put as a subgroup of that
358# type (e.g. under the Public Functions section). Set it to NO to prevent
359# subgrouping. Alternatively, this can be done per class using the
360# \nosubgrouping command.
361# The default value is: YES.
362
363SUBGROUPING = YES
364
365# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
366# are shown inside the group in which they are included (e.g. using \ingroup)
367# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
368# and RTF).
369#
370# Note that this feature does not work in combination with
371# SEPARATE_MEMBER_PAGES.
372# The default value is: NO.
373
374INLINE_GROUPED_CLASSES = NO
375
376# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
377# with only public data fields or simple typedef fields will be shown inline in
378# the documentation of the scope in which they are defined (i.e. file,
379# namespace, or group documentation), provided this scope is documented. If set
380# to NO, structs, classes, and unions are shown on a separate page (for HTML and
381# Man pages) or section (for LaTeX and RTF).
382# The default value is: NO.
383
384INLINE_SIMPLE_STRUCTS = NO
385
386# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
387# enum is documented as struct, union, or enum with the name of the typedef. So
388# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
389# with name TypeT. When disabled the typedef will appear as a member of a file,
390# namespace, or class. And the struct will be named TypeS. This can typically be
391# useful for C code in case the coding convention dictates that all compound
392# types are typedef'ed and only the typedef is referenced, never the tag name.
393# The default value is: NO.
394
395TYPEDEF_HIDES_STRUCT = NO
396
397# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
398# cache is used to resolve symbols given their name and scope. Since this can be
399# an expensive process and often the same symbol appears multiple times in the
400# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
401# doxygen will become slower. If the cache is too large, memory is wasted. The
402# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
403# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
404# symbols. At the end of a run doxygen will report the cache usage and suggest
405# the optimal cache size from a speed point of view.
406# Minimum value: 0, maximum value: 9, default value: 0.
407
408LOOKUP_CACHE_SIZE = 0
409
410#---------------------------------------------------------------------------
411# Build related configuration options
412#---------------------------------------------------------------------------
413
414# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
415# documentation are documented, even if no documentation was available. Private
416# class members and static file members will be hidden unless the
417# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
418# Note: This will also disable the warnings about undocumented members that are
419# normally produced when WARNINGS is set to YES.
420# The default value is: NO.
421
422EXTRACT_ALL = YES
423
424# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
425# be included in the documentation.
426# The default value is: NO.
427
428EXTRACT_PRIVATE = YES
429
430# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
431# scope will be included in the documentation.
432# The default value is: NO.
433
434EXTRACT_PACKAGE = NO
435
436# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
437# included in the documentation.
438# The default value is: NO.
439
440EXTRACT_STATIC = YES
441
442# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
443# locally in source files will be included in the documentation. If set to NO,
444# only classes defined in header files are included. Does not have any effect
445# for Java sources.
446# The default value is: YES.
447
448EXTRACT_LOCAL_CLASSES = YES
449
450# This flag is only useful for Objective-C code. If set to YES, local methods,
451# which are defined in the implementation section but not in the interface are
452# included in the documentation. If set to NO, only methods in the interface are
453# included.
454# The default value is: NO.
455
456EXTRACT_LOCAL_METHODS = NO
457
458# If this flag is set to YES, the members of anonymous namespaces will be
459# extracted and appear in the documentation as a namespace called
460# 'anonymous_namespace{file}', where file will be replaced with the base name of
461# the file that contains the anonymous namespace. By default anonymous namespace
462# are hidden.
463# The default value is: NO.
464
465EXTRACT_ANON_NSPACES = NO
466
467# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
468# undocumented members inside documented classes or files. If set to NO these
469# members will be included in the various overviews, but no documentation
470# section is generated. This option has no effect if EXTRACT_ALL is enabled.
471# The default value is: NO.
472
473HIDE_UNDOC_MEMBERS = NO
474
475# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
476# undocumented classes that are normally visible in the class hierarchy. If set
477# to NO, these classes will be included in the various overviews. This option
478# has no effect if EXTRACT_ALL is enabled.
479# The default value is: NO.
480
481HIDE_UNDOC_CLASSES = NO
482
483# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
484# (class|struct|union) declarations. If set to NO, these declarations will be
485# included in the documentation.
486# The default value is: NO.
487
488HIDE_FRIEND_COMPOUNDS = NO
489
490# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
491# documentation blocks found inside the body of a function. If set to NO, these
492# blocks will be appended to the function's detailed documentation block.
493# The default value is: NO.
494
495HIDE_IN_BODY_DOCS = NO
496
497# The INTERNAL_DOCS tag determines if documentation that is typed after a
498# \internal command is included. If the tag is set to NO then the documentation
499# will be excluded. Set it to YES to include the internal documentation.
500# The default value is: NO.
501
502INTERNAL_DOCS = NO
503
504# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
505# names in lower-case letters. If set to YES, upper-case letters are also
506# allowed. This is useful if you have classes or files whose names only differ
507# in case and if your file system supports case sensitive file names. Windows
508# and Mac users are advised to set this option to NO.
509# The default value is: system dependent.
510
511CASE_SENSE_NAMES = NO
512
513# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
514# their full class and namespace scopes in the documentation. If set to YES, the
515# scope will be hidden.
516# The default value is: NO.
517
518HIDE_SCOPE_NAMES = NO
519
520# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
521# append additional text to a page's title, such as Class Reference. If set to
522# YES the compound reference will be hidden.
523# The default value is: NO.
524
525HIDE_COMPOUND_REFERENCE= NO
526
527# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
528# the files that are included by a file in the documentation of that file.
529# The default value is: YES.
530
531SHOW_INCLUDE_FILES = YES
532
533# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
534# grouped member an include statement to the documentation, telling the reader
535# which file to include in order to use the member.
536# The default value is: NO.
537
538SHOW_GROUPED_MEMB_INC = NO
539
540# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
541# files with double quotes in the documentation rather than with sharp brackets.
542# The default value is: NO.
543
544FORCE_LOCAL_INCLUDES = NO
545
546# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
547# documentation for inline members.
548# The default value is: YES.
549
550INLINE_INFO = YES
551
552# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
553# (detailed) documentation of file and class members alphabetically by member
554# name. If set to NO, the members will appear in declaration order.
555# The default value is: YES.
556
557SORT_MEMBER_DOCS = YES
558
559# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
560# descriptions of file, namespace and class members alphabetically by member
561# name. If set to NO, the members will appear in declaration order. Note that
562# this will also influence the order of the classes in the class list.
563# The default value is: NO.
564
565SORT_BRIEF_DOCS = NO
566
567# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
568# (brief and detailed) documentation of class members so that constructors and
569# destructors are listed first. If set to NO the constructors will appear in the
570# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
571# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
572# member documentation.
573# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
574# detailed member documentation.
575# The default value is: NO.
576
577SORT_MEMBERS_CTORS_1ST = NO
578
579# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
580# of group names into alphabetical order. If set to NO the group names will
581# appear in their defined order.
582# The default value is: NO.
583
584SORT_GROUP_NAMES = NO
585
586# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
587# fully-qualified names, including namespaces. If set to NO, the class list will
588# be sorted only by class name, not including the namespace part.
589# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
590# Note: This option applies only to the class list, not to the alphabetical
591# list.
592# The default value is: NO.
593
594SORT_BY_SCOPE_NAME = NO
595
596# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
597# type resolution of all parameters of a function it will reject a match between
598# the prototype and the implementation of a member function even if there is
599# only one candidate or it is obvious which candidate to choose by doing a
600# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
601# accept a match between prototype and implementation in such cases.
602# The default value is: NO.
603
604STRICT_PROTO_MATCHING = NO
605
606# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
607# list. This list is created by putting \todo commands in the documentation.
608# The default value is: YES.
609
610GENERATE_TODOLIST = NO
611
612# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
613# list. This list is created by putting \test commands in the documentation.
614# The default value is: YES.
615
616GENERATE_TESTLIST = NO
617
618# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
619# list. This list is created by putting \bug commands in the documentation.
620# The default value is: YES.
621
622GENERATE_BUGLIST = NO
623
624# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
625# the deprecated list. This list is created by putting \deprecated commands in
626# the documentation.
627# The default value is: YES.
628
629GENERATE_DEPRECATEDLIST= YES
630
631# The ENABLED_SECTIONS tag can be used to enable conditional documentation
632# sections, marked by \if <section_label> ... \endif and \cond <section_label>
633# ... \endcond blocks.
634
635ENABLED_SECTIONS =
636
637# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
638# initial value of a variable or macro / define can have for it to appear in the
639# documentation. If the initializer consists of more lines than specified here
640# it will be hidden. Use a value of 0 to hide initializers completely. The
641# appearance of the value of individual variables and macros / defines can be
642# controlled using \showinitializer or \hideinitializer command in the
643# documentation regardless of this setting.
644# Minimum value: 0, maximum value: 10000, default value: 30.
645
646MAX_INITIALIZER_LINES = 30
647
648# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
649# the bottom of the documentation of classes and structs. If set to YES, the
650# list will mention the files that were used to generate the documentation.
651# The default value is: YES.
652
653SHOW_USED_FILES = YES
654
655# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
656# will remove the Files entry from the Quick Index and from the Folder Tree View
657# (if specified).
658# The default value is: YES.
659
660SHOW_FILES = YES
661
662# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
663# page. This will remove the Namespaces entry from the Quick Index and from the
664# Folder Tree View (if specified).
665# The default value is: YES.
666
667SHOW_NAMESPACES = YES
668
669# The FILE_VERSION_FILTER tag can be used to specify a program or script that
670# doxygen should invoke to get the current version for each file (typically from
671# the version control system). Doxygen will invoke the program by executing (via
672# popen()) the command command input-file, where command is the value of the
673# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
674# by doxygen. Whatever the program writes to standard output is used as the file
675# version. For an example see the documentation.
676
677FILE_VERSION_FILTER =
678
679# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
680# by doxygen. The layout file controls the global structure of the generated
681# output files in an output format independent way. To create the layout file
682# that represents doxygen's defaults, run doxygen with the -l option. You can
683# optionally specify a file name after the option, if omitted DoxygenLayout.xml
684# will be used as the name of the layout file.
685#
686# Note that if you run doxygen from a directory containing a file called
687# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
688# tag is left empty.
689
690LAYOUT_FILE =
691
692# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
693# the reference definitions. This must be a list of .bib files. The .bib
694# extension is automatically appended if omitted. This requires the bibtex tool
695# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
696# For LaTeX the style of the bibliography can be controlled using
697# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
698# search path. See also \cite for info how to create references.
699
700CITE_BIB_FILES =
701
702#---------------------------------------------------------------------------
703# Configuration options related to warning and progress messages
704#---------------------------------------------------------------------------
705
706# The QUIET tag can be used to turn on/off the messages that are generated to
707# standard output by doxygen. If QUIET is set to YES this implies that the
708# messages are off.
709# The default value is: NO.
710
711QUIET = YES
712
713# The WARNINGS tag can be used to turn on/off the warning messages that are
714# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
715# this implies that the warnings are on.
716#
717# Tip: Turn warnings on while writing the documentation.
718# The default value is: YES.
719
720WARNINGS = YES
721
722# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
723# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
724# will automatically be disabled.
725# The default value is: YES.
726
727WARN_IF_UNDOCUMENTED = YES
728
729# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
730# potential errors in the documentation, such as not documenting some parameters
731# in a documented function, or documenting parameters that don't exist or using
732# markup commands wrongly.
733# The default value is: YES.
734
735WARN_IF_DOC_ERROR = YES
736
737# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
738# are documented, but have no documentation for their parameters or return
739# value. If set to NO, doxygen will only warn about wrong or incomplete
740# parameter documentation, but not about the absence of documentation.
741# The default value is: NO.
742
743WARN_NO_PARAMDOC = YES
744
745# The WARN_FORMAT tag determines the format of the warning messages that doxygen
746# can produce. The string should contain the $file, $line, and $text tags, which
747# will be replaced by the file and line number from which the warning originated
748# and the warning text. Optionally the format may contain $version, which will
749# be replaced by the version of the file (if it could be obtained via
750# FILE_VERSION_FILTER)
751# The default value is: $file:$line: $text.
752
753WARN_FORMAT = "$file:$line: $text"
754
755# The WARN_LOGFILE tag can be used to specify a file to which warning and error
756# messages should be written. If left blank the output is written to standard
757# error (stderr).
758
759WARN_LOGFILE =
760
761#---------------------------------------------------------------------------
762# Configuration options related to the input files
763#---------------------------------------------------------------------------
764
765# The INPUT tag is used to specify the files and/or directories that contain
766# documented source files. You may enter file names like myfile.cpp or
767# directories like /usr/src/myproject. Separate the files or directories with
768# spaces.
769# Note: If this tag is empty the current directory is searched.
770
771INPUT = ./
772
773# This tag can be used to specify the character encoding of the source files
774# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
775# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
776# documentation (see: http://www.gnu.org/software/libiconv) for the list of
777# possible encodings.
778# The default value is: UTF-8.
779
780INPUT_ENCODING = UTF-8
781
782# If the value of the INPUT tag contains directories, you can use the
783# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
784# *.h) to filter out the source-files in the directories. If left blank the
785# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
786# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
787# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
788# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
789# *.qsf, *.as and *.js.
790
791FILE_PATTERNS = *.h \
792 *.c \
793 *.txt
794
795# The RECURSIVE tag can be used to specify whether or not subdirectories should
796# be searched for input files as well.
797# The default value is: NO.
798
799RECURSIVE = YES
800
801# The EXCLUDE tag can be used to specify files and/or directories that should be
802# excluded from the INPUT source files. This way you can easily exclude a
803# subdirectory from a directory tree whose root is specified with the INPUT tag.
804#
805# Note that relative paths are relative to the directory from which doxygen is
806# run.
807
808EXCLUDE = Documentation/ \
809 CPUUsageApp/ \
810 LEDMixerApp/
811
812# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
813# directories that are symbolic links (a Unix file system feature) are excluded
814# from the input.
815# The default value is: NO.
816
817EXCLUDE_SYMLINKS = NO
818
819# If the value of the INPUT tag contains directories, you can use the
820# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
821# certain files from those directories.
822#
823# Note that the wildcards are matched against the file with absolute path, so to
824# exclude all test directories for example use the pattern */test/*
825
826EXCLUDE_PATTERNS =
827
828# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
829# (namespaces, classes, functions, etc.) that should be excluded from the
830# output. The symbol name can be a fully qualified name, a word, or if the
831# wildcard * is used, a substring. Examples: ANamespace, AClass,
832# AClass::ANamespace, ANamespace::*Test
833#
834# Note that the wildcards are matched against the file with absolute path, so to
835# exclude all test directories use the pattern */test/*
836
837EXCLUDE_SYMBOLS = __* \
838 INCLUDE_FROM_*
839
840# The EXAMPLE_PATH tag can be used to specify one or more files or directories
841# that contain example code fragments that are included (see the \include
842# command).
843
844EXAMPLE_PATH =
845
846# If the value of the EXAMPLE_PATH tag contains directories, you can use the
847# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
848# *.h) to filter out the source-files in the directories. If left blank all
849# files are included.
850
851EXAMPLE_PATTERNS = *
852
853# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
854# searched for input files to be used with the \include or \dontinclude commands
855# irrespective of the value of the RECURSIVE tag.
856# The default value is: NO.
857
858EXAMPLE_RECURSIVE = NO
859
860# The IMAGE_PATH tag can be used to specify one or more files or directories
861# that contain images that are to be included in the documentation (see the
862# \image command).
863
864IMAGE_PATH =
865
866# The INPUT_FILTER tag can be used to specify a program that doxygen should
867# invoke to filter for each input file. Doxygen will invoke the filter program
868# by executing (via popen()) the command:
869#
870# <filter> <input-file>
871#
872# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
873# name of an input file. Doxygen will then use the output that the filter
874# program writes to standard output. If FILTER_PATTERNS is specified, this tag
875# will be ignored.
876#
877# Note that the filter must not add or remove lines; it is applied before the
878# code is scanned, but not when the output code is generated. If lines are added
879# or removed, the anchors will not be placed correctly.
880
881INPUT_FILTER =
882
883# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
884# basis. Doxygen will compare the file name with each pattern and apply the
885# filter if there is a match. The filters are a list of the form: pattern=filter
886# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
887# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
888# patterns match the file name, INPUT_FILTER is applied.
889
890FILTER_PATTERNS =
891
892# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
893# INPUT_FILTER) will also be used to filter the input files that are used for
894# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
895# The default value is: NO.
896
897FILTER_SOURCE_FILES = NO
898
899# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
900# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
901# it is also possible to disable source filtering for a specific pattern using
902# *.ext= (so without naming a filter).
903# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
904
905FILTER_SOURCE_PATTERNS =
906
907# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
908# is part of the input, its contents will be placed on the main page
909# (index.html). This can be useful if you have a project on for instance GitHub
910# and want to reuse the introduction page also for the doxygen output.
911
912USE_MDFILE_AS_MAINPAGE =
913
914#---------------------------------------------------------------------------
915# Configuration options related to source browsing
916#---------------------------------------------------------------------------
917
918# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
919# generated. Documented entities will be cross-referenced with these sources.
920#
921# Note: To get rid of all source code in the generated output, make sure that
922# also VERBATIM_HEADERS is set to NO.
923# The default value is: NO.
924
925SOURCE_BROWSER = NO
926
927# Setting the INLINE_SOURCES tag to YES will include the body of functions,
928# classes and enums directly into the documentation.
929# The default value is: NO.
930
931INLINE_SOURCES = NO
932
933# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
934# special comment blocks from generated source code fragments. Normal C, C++ and
935# Fortran comments will always remain visible.
936# The default value is: YES.
937
938STRIP_CODE_COMMENTS = YES
939
940# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
941# function all documented functions referencing it will be listed.
942# The default value is: NO.
943
944REFERENCED_BY_RELATION = NO
945
946# If the REFERENCES_RELATION tag is set to YES then for each documented function
947# all documented entities called/used by that function will be listed.
948# The default value is: NO.
949
950REFERENCES_RELATION = NO
951
952# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
953# to YES then the hyperlinks from functions in REFERENCES_RELATION and
954# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
955# link to the documentation.
956# The default value is: YES.
957
958REFERENCES_LINK_SOURCE = NO
959
960# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
961# source code will show a tooltip with additional information such as prototype,
962# brief description and links to the definition and documentation. Since this
963# will make the HTML file larger and loading of large files a bit slower, you
964# can opt to disable this feature.
965# The default value is: YES.
966# This tag requires that the tag SOURCE_BROWSER is set to YES.
967
968SOURCE_TOOLTIPS = YES
969
970# If the USE_HTAGS tag is set to YES then the references to source code will
971# point to the HTML generated by the htags(1) tool instead of doxygen built-in
972# source browser. The htags tool is part of GNU's global source tagging system
973# (see http://www.gnu.org/software/global/global.html). You will need version
974# 4.8.6 or higher.
975#
976# To use it do the following:
977# - Install the latest version of global
978# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
979# - Make sure the INPUT points to the root of the source tree
980# - Run doxygen as normal
981#
982# Doxygen will invoke htags (and that will in turn invoke gtags), so these
983# tools must be available from the command line (i.e. in the search path).
984#
985# The result: instead of the source browser generated by doxygen, the links to
986# source code will now point to the output of htags.
987# The default value is: NO.
988# This tag requires that the tag SOURCE_BROWSER is set to YES.
989
990USE_HTAGS = NO
991
992# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
993# verbatim copy of the header file for each class for which an include is
994# specified. Set to NO to disable this.
995# See also: Section \class.
996# The default value is: YES.
997
998VERBATIM_HEADERS = NO
999
1000# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
1001# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
1002# cost of reduced performance. This can be particularly helpful with template
1003# rich C++ code for which doxygen's built-in parser lacks the necessary type
1004# information.
1005# Note: The availability of this option depends on whether or not doxygen was
1006# compiled with the --with-libclang option.
1007# The default value is: NO.
1008
1009CLANG_ASSISTED_PARSING = NO
1010
1011# If clang assisted parsing is enabled you can provide the compiler with command
1012# line options that you would normally use when invoking the compiler. Note that
1013# the include paths will already be set by doxygen for the files and directories
1014# specified with INPUT and INCLUDE_PATH.
1015# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
1016
1017CLANG_OPTIONS =
1018
1019#---------------------------------------------------------------------------
1020# Configuration options related to the alphabetical class index
1021#---------------------------------------------------------------------------
1022
1023# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
1024# compounds will be generated. Enable this if the project contains a lot of
1025# classes, structs, unions or interfaces.
1026# The default value is: YES.
1027
1028ALPHABETICAL_INDEX = YES
1029
1030# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
1031# which the alphabetical index list will be split.
1032# Minimum value: 1, maximum value: 20, default value: 5.
1033# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1034
1035COLS_IN_ALPHA_INDEX = 5
1036
1037# In case all classes in a project start with a common prefix, all classes will
1038# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
1039# can be used to specify a prefix (or a list of prefixes) that should be ignored
1040# while generating the index headers.
1041# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1042
1043IGNORE_PREFIX =
1044
1045#---------------------------------------------------------------------------
1046# Configuration options related to the HTML output
1047#---------------------------------------------------------------------------
1048
1049# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
1050# The default value is: YES.
1051
1052GENERATE_HTML = YES
1053
1054# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
1055# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1056# it.
1057# The default directory is: html.
1058# This tag requires that the tag GENERATE_HTML is set to YES.
1059
1060HTML_OUTPUT = html
1061
1062# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
1063# generated HTML page (for example: .htm, .php, .asp).
1064# The default value is: .html.
1065# This tag requires that the tag GENERATE_HTML is set to YES.
1066
1067HTML_FILE_EXTENSION = .html
1068
1069# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
1070# each generated HTML page. If the tag is left blank doxygen will generate a
1071# standard header.
1072#
1073# To get valid HTML the header file that includes any scripts and style sheets
1074# that doxygen needs, which is dependent on the configuration options used (e.g.
1075# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
1076# default header using
1077# doxygen -w html new_header.html new_footer.html new_stylesheet.css
1078# YourConfigFile
1079# and then modify the file new_header.html. See also section "Doxygen usage"
1080# for information on how to generate the default header that doxygen normally
1081# uses.
1082# Note: The header is subject to change so you typically have to regenerate the
1083# default header when upgrading to a newer version of doxygen. For a description
1084# of the possible markers and block names see the documentation.
1085# This tag requires that the tag GENERATE_HTML is set to YES.
1086
1087HTML_HEADER =
1088
1089# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1090# generated HTML page. If the tag is left blank doxygen will generate a standard
1091# footer. See HTML_HEADER for more information on how to generate a default
1092# footer and what special commands can be used inside the footer. See also
1093# section "Doxygen usage" for information on how to generate the default footer
1094# that doxygen normally uses.
1095# This tag requires that the tag GENERATE_HTML is set to YES.
1096
1097HTML_FOOTER =
1098
1099# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
1100# sheet that is used by each HTML page. It can be used to fine-tune the look of
1101# the HTML output. If left blank doxygen will generate a default style sheet.
1102# See also section "Doxygen usage" for information on how to generate the style
1103# sheet that doxygen normally uses.
1104# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
1105# it is more robust and this tag (HTML_STYLESHEET) will in the future become
1106# obsolete.
1107# This tag requires that the tag GENERATE_HTML is set to YES.
1108
1109HTML_STYLESHEET =
1110
1111# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1112# cascading style sheets that are included after the standard style sheets
1113# created by doxygen. Using this option one can overrule certain style aspects.
1114# This is preferred over using HTML_STYLESHEET since it does not replace the
1115# standard style sheet and is therefore more robust against future updates.
1116# Doxygen will copy the style sheet files to the output directory.
1117# Note: The order of the extra style sheet files is of importance (e.g. the last
1118# style sheet in the list overrules the setting of the previous ones in the
1119# list). For an example see the documentation.
1120# This tag requires that the tag GENERATE_HTML is set to YES.
1121
1122HTML_EXTRA_STYLESHEET =
1123
1124# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
1125# other source files which should be copied to the HTML output directory. Note
1126# that these files will be copied to the base HTML output directory. Use the
1127# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
1128# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
1129# files will be copied as-is; there are no commands or markers available.
1130# This tag requires that the tag GENERATE_HTML is set to YES.
1131
1132HTML_EXTRA_FILES =
1133
1134# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1135# will adjust the colors in the style sheet and background images according to
1136# this color. Hue is specified as an angle on a colorwheel, see
1137# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1138# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1139# purple, and 360 is red again.
1140# Minimum value: 0, maximum value: 359, default value: 220.
1141# This tag requires that the tag GENERATE_HTML is set to YES.
1142
1143HTML_COLORSTYLE_HUE = 220
1144
1145# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1146# in the HTML output. For a value of 0 the output will use grayscales only. A
1147# value of 255 will produce the most vivid colors.
1148# Minimum value: 0, maximum value: 255, default value: 100.
1149# This tag requires that the tag GENERATE_HTML is set to YES.
1150
1151HTML_COLORSTYLE_SAT = 100
1152
1153# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1154# luminance component of the colors in the HTML output. Values below 100
1155# gradually make the output lighter, whereas values above 100 make the output
1156# darker. The value divided by 100 is the actual gamma applied, so 80 represents
1157# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1158# change the gamma.
1159# Minimum value: 40, maximum value: 240, default value: 80.
1160# This tag requires that the tag GENERATE_HTML is set to YES.
1161
1162HTML_COLORSTYLE_GAMMA = 80
1163
1164# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1165# page will contain the date and time when the page was generated. Setting this
1166# to NO can help when comparing the output of multiple runs.
1167# The default value is: YES.
1168# This tag requires that the tag GENERATE_HTML is set to YES.
1169
1170HTML_TIMESTAMP = NO
1171
1172# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
1173# documentation will contain sections that can be hidden and shown after the
1174# page has loaded.
1175# The default value is: NO.
1176# This tag requires that the tag GENERATE_HTML is set to YES.
1177
1178HTML_DYNAMIC_SECTIONS = YES
1179
1180# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
1181# shown in the various tree structured indices initially; the user can expand
1182# and collapse entries dynamically later on. Doxygen will expand the tree to
1183# such a level that at most the specified number of entries are visible (unless
1184# a fully collapsed tree already exceeds this amount). So setting the number of
1185# entries 1 will produce a full collapsed tree by default. 0 is a special value
1186# representing an infinite number of entries and will result in a full expanded
1187# tree by default.
1188# Minimum value: 0, maximum value: 9999, default value: 100.
1189# This tag requires that the tag GENERATE_HTML is set to YES.
1190
1191HTML_INDEX_NUM_ENTRIES = 100
1192
1193# If the GENERATE_DOCSET tag is set to YES, additional index files will be
1194# generated that can be used as input for Apple's Xcode 3 integrated development
1195# environment (see: http://developer.apple.com/tools/xcode/), introduced with
1196# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
1197# Makefile in the HTML output directory. Running make will produce the docset in
1198# that directory and running make install will install the docset in
1199# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
1200# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1201# for more information.
1202# The default value is: NO.
1203# This tag requires that the tag GENERATE_HTML is set to YES.
1204
1205GENERATE_DOCSET = NO
1206
1207# This tag determines the name of the docset feed. A documentation feed provides
1208# an umbrella under which multiple documentation sets from a single provider
1209# (such as a company or product suite) can be grouped.
1210# The default value is: Doxygen generated docs.
1211# This tag requires that the tag GENERATE_DOCSET is set to YES.
1212
1213DOCSET_FEEDNAME = "Doxygen generated docs"
1214
1215# This tag specifies a string that should uniquely identify the documentation
1216# set bundle. This should be a reverse domain-name style string, e.g.
1217# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
1218# The default value is: org.doxygen.Project.
1219# This tag requires that the tag GENERATE_DOCSET is set to YES.
1220
1221DOCSET_BUNDLE_ID = org.doxygen.Project
1222
1223# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
1224# the documentation publisher. This should be a reverse domain-name style
1225# string, e.g. com.mycompany.MyDocSet.documentation.
1226# The default value is: org.doxygen.Publisher.
1227# This tag requires that the tag GENERATE_DOCSET is set to YES.
1228
1229DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1230
1231# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
1232# The default value is: Publisher.
1233# This tag requires that the tag GENERATE_DOCSET is set to YES.
1234
1235DOCSET_PUBLISHER_NAME = Publisher
1236
1237# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
1238# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
1239# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1240# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
1241# Windows.
1242#
1243# The HTML Help Workshop contains a compiler that can convert all HTML output
1244# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
1245# files are now used as the Windows 98 help format, and will replace the old
1246# Windows help format (.hlp) on all Windows platforms in the future. Compressed
1247# HTML files also contain an index, a table of contents, and you can search for
1248# words in the documentation. The HTML workshop also contains a viewer for
1249# compressed HTML files.
1250# The default value is: NO.
1251# This tag requires that the tag GENERATE_HTML is set to YES.
1252
1253GENERATE_HTMLHELP = NO
1254
1255# The CHM_FILE tag can be used to specify the file name of the resulting .chm
1256# file. You can add a path in front of the file if the result should not be
1257# written to the html output directory.
1258# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1259
1260CHM_FILE =
1261
1262# The HHC_LOCATION tag can be used to specify the location (absolute path
1263# including file name) of the HTML help compiler (hhc.exe). If non-empty,
1264# doxygen will try to run the HTML help compiler on the generated index.hhp.
1265# The file has to be specified with full path.
1266# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1267
1268HHC_LOCATION =
1269
1270# The GENERATE_CHI flag controls if a separate .chi index file is generated
1271# (YES) or that it should be included in the master .chm file (NO).
1272# The default value is: NO.
1273# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1274
1275GENERATE_CHI = NO
1276
1277# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
1278# and project file content.
1279# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1280
1281CHM_INDEX_ENCODING =
1282
1283# The BINARY_TOC flag controls whether a binary table of contents is generated
1284# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
1285# enables the Previous and Next buttons.
1286# The default value is: NO.
1287# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1288
1289BINARY_TOC = NO
1290
1291# The TOC_EXPAND flag can be set to YES to add extra items for group members to
1292# the table of contents of the HTML help documentation and to the tree view.
1293# The default value is: NO.
1294# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1295
1296TOC_EXPAND = YES
1297
1298# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1299# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
1300# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
1301# (.qch) of the generated HTML documentation.
1302# The default value is: NO.
1303# This tag requires that the tag GENERATE_HTML is set to YES.
1304
1305GENERATE_QHP = NO
1306
1307# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
1308# the file name of the resulting .qch file. The path specified is relative to
1309# the HTML output folder.
1310# This tag requires that the tag GENERATE_QHP is set to YES.
1311
1312QCH_FILE =
1313
1314# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
1315# Project output. For more information please see Qt Help Project / Namespace
1316# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
1317# The default value is: org.doxygen.Project.
1318# This tag requires that the tag GENERATE_QHP is set to YES.
1319
1320QHP_NAMESPACE = org.doxygen.Project
1321
1322# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
1323# Help Project output. For more information please see Qt Help Project / Virtual
1324# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
1325# folders).
1326# The default value is: doc.
1327# This tag requires that the tag GENERATE_QHP is set to YES.
1328
1329QHP_VIRTUAL_FOLDER = doc
1330
1331# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
1332# filter to add. For more information please see Qt Help Project / Custom
1333# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1334# filters).
1335# This tag requires that the tag GENERATE_QHP is set to YES.
1336
1337QHP_CUST_FILTER_NAME =
1338
1339# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
1340# custom filter to add. For more information please see Qt Help Project / Custom
1341# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1342# filters).
1343# This tag requires that the tag GENERATE_QHP is set to YES.
1344
1345QHP_CUST_FILTER_ATTRS =
1346
1347# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1348# project's filter section matches. Qt Help Project / Filter Attributes (see:
1349# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
1350# This tag requires that the tag GENERATE_QHP is set to YES.
1351
1352QHP_SECT_FILTER_ATTRS =
1353
1354# The QHG_LOCATION tag can be used to specify the location of Qt's
1355# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
1356# generated .qhp file.
1357# This tag requires that the tag GENERATE_QHP is set to YES.
1358
1359QHG_LOCATION =
1360
1361# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
1362# generated, together with the HTML files, they form an Eclipse help plugin. To
1363# install this plugin and make it available under the help contents menu in
1364# Eclipse, the contents of the directory containing the HTML and XML files needs
1365# to be copied into the plugins directory of eclipse. The name of the directory
1366# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
1367# After copying Eclipse needs to be restarted before the help appears.
1368# The default value is: NO.
1369# This tag requires that the tag GENERATE_HTML is set to YES.
1370
1371GENERATE_ECLIPSEHELP = NO
1372
1373# A unique identifier for the Eclipse help plugin. When installing the plugin
1374# the directory name containing the HTML and XML files should also have this
1375# name. Each documentation set should have its own identifier.
1376# The default value is: org.doxygen.Project.
1377# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
1378
1379ECLIPSE_DOC_ID = org.doxygen.Project
1380
1381# If you want full control over the layout of the generated HTML pages it might
1382# be necessary to disable the index and replace it with your own. The
1383# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
1384# of each HTML page. A value of NO enables the index and the value YES disables
1385# it. Since the tabs in the index contain the same information as the navigation
1386# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
1387# The default value is: NO.
1388# This tag requires that the tag GENERATE_HTML is set to YES.
1389
1390DISABLE_INDEX = YES
1391
1392# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1393# structure should be generated to display hierarchical information. If the tag
1394# value is set to YES, a side panel will be generated containing a tree-like
1395# index structure (just like the one that is generated for HTML Help). For this
1396# to work a browser that supports JavaScript, DHTML, CSS and frames is required
1397# (i.e. any modern browser). Windows users are probably better off using the
1398# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
1399# further fine-tune the look of the index. As an example, the default style
1400# sheet generated by doxygen has an example that shows how to put an image at
1401# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
1402# the same information as the tab index, you could consider setting
1403# DISABLE_INDEX to YES when enabling this option.
1404# The default value is: NO.
1405# This tag requires that the tag GENERATE_HTML is set to YES.
1406
1407GENERATE_TREEVIEW = YES
1408
1409# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
1410# doxygen will group on one line in the generated HTML documentation.
1411#
1412# Note that a value of 0 will completely suppress the enum values from appearing
1413# in the overview section.
1414# Minimum value: 0, maximum value: 20, default value: 4.
1415# This tag requires that the tag GENERATE_HTML is set to YES.
1416
1417ENUM_VALUES_PER_LINE = 1
1418
1419# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
1420# to set the initial width (in pixels) of the frame in which the tree is shown.
1421# Minimum value: 0, maximum value: 1500, default value: 250.
1422# This tag requires that the tag GENERATE_HTML is set to YES.
1423
1424TREEVIEW_WIDTH = 250
1425
1426# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
1427# external symbols imported via tag files in a separate window.
1428# The default value is: NO.
1429# This tag requires that the tag GENERATE_HTML is set to YES.
1430
1431EXT_LINKS_IN_WINDOW = NO
1432
1433# Use this tag to change the font size of LaTeX formulas included as images in
1434# the HTML documentation. When you change the font size after a successful
1435# doxygen run you need to manually remove any form_*.png images from the HTML
1436# output directory to force them to be regenerated.
1437# Minimum value: 8, maximum value: 50, default value: 10.
1438# This tag requires that the tag GENERATE_HTML is set to YES.
1439
1440FORMULA_FONTSIZE = 10
1441
1442# Use the FORMULA_TRANPARENT tag to determine whether or not the images
1443# generated for formulas are transparent PNGs. Transparent PNGs are not
1444# supported properly for IE 6.0, but are supported on all modern browsers.
1445#
1446# Note that when changing this option you need to delete any form_*.png files in
1447# the HTML output directory before the changes have effect.
1448# The default value is: YES.
1449# This tag requires that the tag GENERATE_HTML is set to YES.
1450
1451FORMULA_TRANSPARENT = YES
1452
1453# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1454# http://www.mathjax.org) which uses client side Javascript for the rendering
1455# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
1456# installed or if you want to formulas look prettier in the HTML output. When
1457# enabled you may also need to install MathJax separately and configure the path
1458# to it using the MATHJAX_RELPATH option.
1459# The default value is: NO.
1460# This tag requires that the tag GENERATE_HTML is set to YES.
1461
1462USE_MATHJAX = NO
1463
1464# When MathJax is enabled you can set the default output format to be used for
1465# the MathJax output. See the MathJax site (see:
1466# http://docs.mathjax.org/en/latest/output.html) for more details.
1467# Possible values are: HTML-CSS (which is slower, but has the best
1468# compatibility), NativeMML (i.e. MathML) and SVG.
1469# The default value is: HTML-CSS.
1470# This tag requires that the tag USE_MATHJAX is set to YES.
1471
1472MATHJAX_FORMAT = HTML-CSS
1473
1474# When MathJax is enabled you need to specify the location relative to the HTML
1475# output directory using the MATHJAX_RELPATH option. The destination directory
1476# should contain the MathJax.js script. For instance, if the mathjax directory
1477# is located at the same level as the HTML output directory, then
1478# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
1479# Content Delivery Network so you can quickly see the result without installing
1480# MathJax. However, it is strongly recommended to install a local copy of
1481# MathJax from http://www.mathjax.org before deployment.
1482# The default value is: http://cdn.mathjax.org/mathjax/latest.
1483# This tag requires that the tag USE_MATHJAX is set to YES.
1484
1485MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
1486
1487# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
1488# extension names that should be enabled during MathJax rendering. For example
1489# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
1490# This tag requires that the tag USE_MATHJAX is set to YES.
1491
1492MATHJAX_EXTENSIONS =
1493
1494# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
1495# of code that will be used on startup of the MathJax code. See the MathJax site
1496# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
1497# example see the documentation.
1498# This tag requires that the tag USE_MATHJAX is set to YES.
1499
1500MATHJAX_CODEFILE =
1501
1502# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
1503# the HTML output. The underlying search engine uses javascript and DHTML and
1504# should work on any modern browser. Note that when using HTML help
1505# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
1506# there is already a search function so this one should typically be disabled.
1507# For large projects the javascript based search engine can be slow, then
1508# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
1509# search using the keyboard; to jump to the search box use <access key> + S
1510# (what the <access key> is depends on the OS and browser, but it is typically
1511# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
1512# key> to jump into the search results window, the results can be navigated
1513# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
1514# the search. The filter options can be selected when the cursor is inside the
1515# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
1516# to select a filter and <Enter> or <escape> to activate or cancel the filter
1517# option.
1518# The default value is: YES.
1519# This tag requires that the tag GENERATE_HTML is set to YES.
1520
1521SEARCHENGINE = NO
1522
1523# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1524# implemented using a web server instead of a web client using Javascript. There
1525# are two flavors of web server based searching depending on the EXTERNAL_SEARCH
1526# setting. When disabled, doxygen will generate a PHP script for searching and
1527# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
1528# and searching needs to be provided by external tools. See the section
1529# "External Indexing and Searching" for details.
1530# The default value is: NO.
1531# This tag requires that the tag SEARCHENGINE is set to YES.
1532
1533SERVER_BASED_SEARCH = NO
1534
1535# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
1536# script for searching. Instead the search results are written to an XML file
1537# which needs to be processed by an external indexer. Doxygen will invoke an
1538# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
1539# search results.
1540#
1541# Doxygen ships with an example indexer (doxyindexer) and search engine
1542# (doxysearch.cgi) which are based on the open source search engine library
1543# Xapian (see: http://xapian.org/).
1544#
1545# See the section "External Indexing and Searching" for details.
1546# The default value is: NO.
1547# This tag requires that the tag SEARCHENGINE is set to YES.
1548
1549EXTERNAL_SEARCH = NO
1550
1551# The SEARCHENGINE_URL should point to a search engine hosted by a web server
1552# which will return the search results when EXTERNAL_SEARCH is enabled.
1553#
1554# Doxygen ships with an example indexer (doxyindexer) and search engine
1555# (doxysearch.cgi) which are based on the open source search engine library
1556# Xapian (see: http://xapian.org/). See the section "External Indexing and
1557# Searching" for details.
1558# This tag requires that the tag SEARCHENGINE is set to YES.
1559
1560SEARCHENGINE_URL =
1561
1562# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
1563# search data is written to a file for indexing by an external tool. With the
1564# SEARCHDATA_FILE tag the name of this file can be specified.
1565# The default file is: searchdata.xml.
1566# This tag requires that the tag SEARCHENGINE is set to YES.
1567
1568SEARCHDATA_FILE = searchdata.xml
1569
1570# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
1571# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
1572# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
1573# projects and redirect the results back to the right project.
1574# This tag requires that the tag SEARCHENGINE is set to YES.
1575
1576EXTERNAL_SEARCH_ID =
1577
1578# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
1579# projects other than the one defined by this configuration file, but that are
1580# all added to the same external search index. Each project needs to have a
1581# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
1582# to a relative location where the documentation can be found. The format is:
1583# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
1584# This tag requires that the tag SEARCHENGINE is set to YES.
1585
1586EXTRA_SEARCH_MAPPINGS =
1587
1588#---------------------------------------------------------------------------
1589# Configuration options related to the LaTeX output
1590#---------------------------------------------------------------------------
1591
1592# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
1593# The default value is: YES.
1594
1595GENERATE_LATEX = NO
1596
1597# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
1598# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1599# it.
1600# The default directory is: latex.
1601# This tag requires that the tag GENERATE_LATEX is set to YES.
1602
1603LATEX_OUTPUT = latex
1604
1605# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1606# invoked.
1607#
1608# Note that when enabling USE_PDFLATEX this option is only used for generating
1609# bitmaps for formulas in the HTML output, but not in the Makefile that is
1610# written to the output directory.
1611# The default file is: latex.
1612# This tag requires that the tag GENERATE_LATEX is set to YES.
1613
1614LATEX_CMD_NAME = latex
1615
1616# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
1617# index for LaTeX.
1618# The default file is: makeindex.
1619# This tag requires that the tag GENERATE_LATEX is set to YES.
1620
1621MAKEINDEX_CMD_NAME = makeindex
1622
1623# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
1624# documents. This may be useful for small projects and may help to save some
1625# trees in general.
1626# The default value is: NO.
1627# This tag requires that the tag GENERATE_LATEX is set to YES.
1628
1629COMPACT_LATEX = NO
1630
1631# The PAPER_TYPE tag can be used to set the paper type that is used by the
1632# printer.
1633# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
1634# 14 inches) and executive (7.25 x 10.5 inches).
1635# The default value is: a4.
1636# This tag requires that the tag GENERATE_LATEX is set to YES.
1637
1638PAPER_TYPE = a4wide
1639
1640# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
1641# that should be included in the LaTeX output. To get the times font for
1642# instance you can specify
1643# EXTRA_PACKAGES=times
1644# If left blank no extra packages will be included.
1645# This tag requires that the tag GENERATE_LATEX is set to YES.
1646
1647EXTRA_PACKAGES =
1648
1649# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
1650# generated LaTeX document. The header should contain everything until the first
1651# chapter. If it is left blank doxygen will generate a standard header. See
1652# section "Doxygen usage" for information on how to let doxygen write the
1653# default header to a separate file.
1654#
1655# Note: Only use a user-defined header if you know what you are doing! The
1656# following commands have a special meaning inside the header: $title,
1657# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
1658# $projectbrief, $projectlogo. Doxygen will replace $title with the empty
1659# string, for the replacement values of the other commands the user is referred
1660# to HTML_HEADER.
1661# This tag requires that the tag GENERATE_LATEX is set to YES.
1662
1663LATEX_HEADER =
1664
1665# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1666# generated LaTeX document. The footer should contain everything after the last
1667# chapter. If it is left blank doxygen will generate a standard footer. See
1668# LATEX_HEADER for more information on how to generate a default footer and what
1669# special commands can be used inside the footer.
1670#
1671# Note: Only use a user-defined footer if you know what you are doing!
1672# This tag requires that the tag GENERATE_LATEX is set to YES.
1673
1674LATEX_FOOTER =
1675
1676# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1677# LaTeX style sheets that are included after the standard style sheets created
1678# by doxygen. Using this option one can overrule certain style aspects. Doxygen
1679# will copy the style sheet files to the output directory.
1680# Note: The order of the extra style sheet files is of importance (e.g. the last
1681# style sheet in the list overrules the setting of the previous ones in the
1682# list).
1683# This tag requires that the tag GENERATE_LATEX is set to YES.
1684
1685LATEX_EXTRA_STYLESHEET =
1686
1687# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
1688# other source files which should be copied to the LATEX_OUTPUT output
1689# directory. Note that the files will be copied as-is; there are no commands or
1690# markers available.
1691# This tag requires that the tag GENERATE_LATEX is set to YES.
1692
1693LATEX_EXTRA_FILES =
1694
1695# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
1696# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
1697# contain links (just like the HTML output) instead of page references. This
1698# makes the output suitable for online browsing using a PDF viewer.
1699# The default value is: YES.
1700# This tag requires that the tag GENERATE_LATEX is set to YES.
1701
1702PDF_HYPERLINKS = YES
1703
1704# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1705# the PDF file directly from the LaTeX files. Set this option to YES, to get a
1706# higher quality PDF documentation.
1707# The default value is: YES.
1708# This tag requires that the tag GENERATE_LATEX is set to YES.
1709
1710USE_PDFLATEX = YES
1711
1712# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
1713# command to the generated LaTeX files. This will instruct LaTeX to keep running
1714# if errors occur, instead of asking the user for help. This option is also used
1715# when generating formulas in HTML.
1716# The default value is: NO.
1717# This tag requires that the tag GENERATE_LATEX is set to YES.
1718
1719LATEX_BATCHMODE = NO
1720
1721# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
1722# index chapters (such as File Index, Compound Index, etc.) in the output.
1723# The default value is: NO.
1724# This tag requires that the tag GENERATE_LATEX is set to YES.
1725
1726LATEX_HIDE_INDICES = NO
1727
1728# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
1729# code with syntax highlighting in the LaTeX output.
1730#
1731# Note that which sources are shown also depends on other settings such as
1732# SOURCE_BROWSER.
1733# The default value is: NO.
1734# This tag requires that the tag GENERATE_LATEX is set to YES.
1735
1736LATEX_SOURCE_CODE = NO
1737
1738# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1739# bibliography, e.g. plainnat, or ieeetr. See
1740# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
1741# The default value is: plain.
1742# This tag requires that the tag GENERATE_LATEX is set to YES.
1743
1744LATEX_BIB_STYLE = plain
1745
1746#---------------------------------------------------------------------------
1747# Configuration options related to the RTF output
1748#---------------------------------------------------------------------------
1749
1750# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
1751# RTF output is optimized for Word 97 and may not look too pretty with other RTF
1752# readers/editors.
1753# The default value is: NO.
1754
1755GENERATE_RTF = NO
1756
1757# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
1758# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1759# it.
1760# The default directory is: rtf.
1761# This tag requires that the tag GENERATE_RTF is set to YES.
1762
1763RTF_OUTPUT = rtf
1764
1765# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
1766# documents. This may be useful for small projects and may help to save some
1767# trees in general.
1768# The default value is: NO.
1769# This tag requires that the tag GENERATE_RTF is set to YES.
1770
1771COMPACT_RTF = NO
1772
1773# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
1774# contain hyperlink fields. The RTF file will contain links (just like the HTML
1775# output) instead of page references. This makes the output suitable for online
1776# browsing using Word or some other Word compatible readers that support those
1777# fields.
1778#
1779# Note: WordPad (write) and others do not support links.
1780# The default value is: NO.
1781# This tag requires that the tag GENERATE_RTF is set to YES.
1782
1783RTF_HYPERLINKS = NO
1784
1785# Load stylesheet definitions from file. Syntax is similar to doxygen's config
1786# file, i.e. a series of assignments. You only have to provide replacements,
1787# missing definitions are set to their default value.
1788#
1789# See also section "Doxygen usage" for information on how to generate the
1790# default style sheet that doxygen normally uses.
1791# This tag requires that the tag GENERATE_RTF is set to YES.
1792
1793RTF_STYLESHEET_FILE =
1794
1795# Set optional variables used in the generation of an RTF document. Syntax is
1796# similar to doxygen's config file. A template extensions file can be generated
1797# using doxygen -e rtf extensionFile.
1798# This tag requires that the tag GENERATE_RTF is set to YES.
1799
1800RTF_EXTENSIONS_FILE =
1801
1802# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
1803# with syntax highlighting in the RTF output.
1804#
1805# Note that which sources are shown also depends on other settings such as
1806# SOURCE_BROWSER.
1807# The default value is: NO.
1808# This tag requires that the tag GENERATE_RTF is set to YES.
1809
1810RTF_SOURCE_CODE = NO
1811
1812#---------------------------------------------------------------------------
1813# Configuration options related to the man page output
1814#---------------------------------------------------------------------------
1815
1816# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
1817# classes and files.
1818# The default value is: NO.
1819
1820GENERATE_MAN = NO
1821
1822# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
1823# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1824# it. A directory man3 will be created inside the directory specified by
1825# MAN_OUTPUT.
1826# The default directory is: man.
1827# This tag requires that the tag GENERATE_MAN is set to YES.
1828
1829MAN_OUTPUT = man
1830
1831# The MAN_EXTENSION tag determines the extension that is added to the generated
1832# man pages. In case the manual section does not start with a number, the number
1833# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
1834# optional.
1835# The default value is: .3.
1836# This tag requires that the tag GENERATE_MAN is set to YES.
1837
1838MAN_EXTENSION = .3
1839
1840# The MAN_SUBDIR tag determines the name of the directory created within
1841# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
1842# MAN_EXTENSION with the initial . removed.
1843# This tag requires that the tag GENERATE_MAN is set to YES.
1844
1845MAN_SUBDIR =
1846
1847# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
1848# will generate one additional man file for each entity documented in the real
1849# man page(s). These additional files only source the real man page, but without
1850# them the man command would be unable to find the correct page.
1851# The default value is: NO.
1852# This tag requires that the tag GENERATE_MAN is set to YES.
1853
1854MAN_LINKS = NO
1855
1856#---------------------------------------------------------------------------
1857# Configuration options related to the XML output
1858#---------------------------------------------------------------------------
1859
1860# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
1861# captures the structure of the code including all documentation.
1862# The default value is: NO.
1863
1864GENERATE_XML = NO
1865
1866# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
1867# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1868# it.
1869# The default directory is: xml.
1870# This tag requires that the tag GENERATE_XML is set to YES.
1871
1872XML_OUTPUT = xml
1873
1874# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
1875# listings (including syntax highlighting and cross-referencing information) to
1876# the XML output. Note that enabling this will significantly increase the size
1877# of the XML output.
1878# The default value is: YES.
1879# This tag requires that the tag GENERATE_XML is set to YES.
1880
1881XML_PROGRAMLISTING = YES
1882
1883#---------------------------------------------------------------------------
1884# Configuration options related to the DOCBOOK output
1885#---------------------------------------------------------------------------
1886
1887# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
1888# that can be used to generate PDF.
1889# The default value is: NO.
1890
1891GENERATE_DOCBOOK = NO
1892
1893# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
1894# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
1895# front of it.
1896# The default directory is: docbook.
1897# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1898
1899DOCBOOK_OUTPUT = docbook
1900
1901# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
1902# program listings (including syntax highlighting and cross-referencing
1903# information) to the DOCBOOK output. Note that enabling this will significantly
1904# increase the size of the DOCBOOK output.
1905# The default value is: NO.
1906# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1907
1908DOCBOOK_PROGRAMLISTING = NO
1909
1910#---------------------------------------------------------------------------
1911# Configuration options for the AutoGen Definitions output
1912#---------------------------------------------------------------------------
1913
1914# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
1915# AutoGen Definitions (see http://autogen.sf.net) file that captures the
1916# structure of the code including all documentation. Note that this feature is
1917# still experimental and incomplete at the moment.
1918# The default value is: NO.
1919
1920GENERATE_AUTOGEN_DEF = NO
1921
1922#---------------------------------------------------------------------------
1923# Configuration options related to the Perl module output
1924#---------------------------------------------------------------------------
1925
1926# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
1927# file that captures the structure of the code including all documentation.
1928#
1929# Note that this feature is still experimental and incomplete at the moment.
1930# The default value is: NO.
1931
1932GENERATE_PERLMOD = NO
1933
1934# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
1935# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
1936# output from the Perl module output.
1937# The default value is: NO.
1938# This tag requires that the tag GENERATE_PERLMOD is set to YES.
1939
1940PERLMOD_LATEX = NO
1941
1942# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
1943# formatted so it can be parsed by a human reader. This is useful if you want to
1944# understand what is going on. On the other hand, if this tag is set to NO, the
1945# size of the Perl module output will be much smaller and Perl will parse it
1946# just the same.
1947# The default value is: YES.
1948# This tag requires that the tag GENERATE_PERLMOD is set to YES.
1949
1950PERLMOD_PRETTY = YES
1951
1952# The names of the make variables in the generated doxyrules.make file are
1953# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
1954# so different doxyrules.make files included by the same Makefile don't
1955# overwrite each other's variables.
1956# This tag requires that the tag GENERATE_PERLMOD is set to YES.
1957
1958PERLMOD_MAKEVAR_PREFIX =
1959
1960#---------------------------------------------------------------------------
1961# Configuration options related to the preprocessor
1962#---------------------------------------------------------------------------
1963
1964# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
1965# C-preprocessor directives found in the sources and include files.
1966# The default value is: YES.
1967
1968ENABLE_PREPROCESSING = YES
1969
1970# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
1971# in the source code. If set to NO, only conditional compilation will be
1972# performed. Macro expansion can be done in a controlled way by setting
1973# EXPAND_ONLY_PREDEF to YES.
1974# The default value is: NO.
1975# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1976
1977MACRO_EXPANSION = YES
1978
1979# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
1980# the macro expansion is limited to the macros specified with the PREDEFINED and
1981# EXPAND_AS_DEFINED tags.
1982# The default value is: NO.
1983# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1984
1985EXPAND_ONLY_PREDEF = YES
1986
1987# If the SEARCH_INCLUDES tag is set to YES, the include files in the
1988# INCLUDE_PATH will be searched if a #include is found.
1989# The default value is: YES.
1990# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1991
1992SEARCH_INCLUDES = YES
1993
1994# The INCLUDE_PATH tag can be used to specify one or more directories that
1995# contain include files that are not input files but should be processed by the
1996# preprocessor.
1997# This tag requires that the tag SEARCH_INCLUDES is set to YES.
1998
1999INCLUDE_PATH =
2000
2001# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
2002# patterns (like *.h and *.hpp) to filter out the header-files in the
2003# directories. If left blank, the patterns specified with FILE_PATTERNS will be
2004# used.
2005# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2006
2007INCLUDE_FILE_PATTERNS =
2008
2009# The PREDEFINED tag can be used to specify one or more macro names that are
2010# defined before the preprocessor is started (similar to the -D option of e.g.
2011# gcc). The argument of the tag is a list of macros of the form: name or
2012# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
2013# is assumed. To prevent a macro definition from being undefined via #undef or
2014# recursively expanded use the := operator instead of the = operator.
2015# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2016
2017PREDEFINED = __DOXYGEN__ \
2018 PROGMEM
2019
2020# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
2021# tag can be used to specify a list of macro names that should be expanded. The
2022# macro definition that is found in the sources will be used. Use the PREDEFINED
2023# tag if you want to use a different macro definition that overrules the
2024# definition found in the source code.
2025# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2026
2027EXPAND_AS_DEFINED =
2028
2029# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
2030# remove all references to function-like macros that are alone on a line, have
2031# an all uppercase name, and do not end with a semicolon. Such function macros
2032# are typically used for boiler-plate code, and will confuse the parser if not
2033# removed.
2034# The default value is: YES.
2035# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2036
2037SKIP_FUNCTION_MACROS = YES
2038
2039#---------------------------------------------------------------------------
2040# Configuration options related to external references
2041#---------------------------------------------------------------------------
2042
2043# The TAGFILES tag can be used to specify one or more tag files. For each tag
2044# file the location of the external documentation should be added. The format of
2045# a tag file without this location is as follows:
2046# TAGFILES = file1 file2 ...
2047# Adding location for the tag files is done as follows:
2048# TAGFILES = file1=loc1 "file2 = loc2" ...
2049# where loc1 and loc2 can be relative or absolute paths or URLs. See the
2050# section "Linking to external documentation" for more information about the use
2051# of tag files.
2052# Note: Each tag file must have a unique name (where the name does NOT include
2053# the path). If a tag file is not located in the directory in which doxygen is
2054# run, you must also specify the path to the tagfile here.
2055
2056TAGFILES =
2057
2058# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
2059# tag file that is based on the input files it reads. See section "Linking to
2060# external documentation" for more information about the usage of tag files.
2061
2062GENERATE_TAGFILE =
2063
2064# If the ALLEXTERNALS tag is set to YES, all external class will be listed in
2065# the class index. If set to NO, only the inherited external classes will be
2066# listed.
2067# The default value is: NO.
2068
2069ALLEXTERNALS = NO
2070
2071# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
2072# in the modules index. If set to NO, only the current project's groups will be
2073# listed.
2074# The default value is: YES.
2075
2076EXTERNAL_GROUPS = YES
2077
2078# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
2079# the related pages index. If set to NO, only the current project's pages will
2080# be listed.
2081# The default value is: YES.
2082
2083EXTERNAL_PAGES = YES
2084
2085# The PERL_PATH should be the absolute path and name of the perl script
2086# interpreter (i.e. the result of 'which perl').
2087# The default file (with absolute path) is: /usr/bin/perl.
2088
2089PERL_PATH = /usr/bin/perl
2090
2091#---------------------------------------------------------------------------
2092# Configuration options related to the dot tool
2093#---------------------------------------------------------------------------
2094
2095# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
2096# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
2097# NO turns the diagrams off. Note that this option also works with HAVE_DOT
2098# disabled, but it is recommended to install and use dot, since it yields more
2099# powerful graphs.
2100# The default value is: YES.
2101
2102CLASS_DIAGRAMS = NO
2103
2104# You can define message sequence charts within doxygen comments using the \msc
2105# command. Doxygen will then run the mscgen tool (see:
2106# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
2107# documentation. The MSCGEN_PATH tag allows you to specify the directory where
2108# the mscgen tool resides. If left empty the tool is assumed to be found in the
2109# default search path.
2110
2111MSCGEN_PATH =
2112
2113# You can include diagrams made with dia in doxygen documentation. Doxygen will
2114# then run dia to produce the diagram and insert it in the documentation. The
2115# DIA_PATH tag allows you to specify the directory where the dia binary resides.
2116# If left empty dia is assumed to be found in the default search path.
2117
2118DIA_PATH =
2119
2120# If set to YES the inheritance and collaboration graphs will hide inheritance
2121# and usage relations if the target is undocumented or is not a class.
2122# The default value is: YES.
2123
2124HIDE_UNDOC_RELATIONS = YES
2125
2126# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
2127# available from the path. This tool is part of Graphviz (see:
2128# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
2129# Bell Labs. The other options in this section have no effect if this option is
2130# set to NO
2131# The default value is: NO.
2132
2133HAVE_DOT = NO
2134
2135# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
2136# to run in parallel. When set to 0 doxygen will base this on the number of
2137# processors available in the system. You can set it explicitly to a value
2138# larger than 0 to get control over the balance between CPU load and processing
2139# speed.
2140# Minimum value: 0, maximum value: 32, default value: 0.
2141# This tag requires that the tag HAVE_DOT is set to YES.
2142
2143DOT_NUM_THREADS = 0
2144
2145# When you want a differently looking font in the dot files that doxygen
2146# generates you can specify the font name using DOT_FONTNAME. You need to make
2147# sure dot is able to find the font, which can be done by putting it in a
2148# standard location or by setting the DOTFONTPATH environment variable or by
2149# setting DOT_FONTPATH to the directory containing the font.
2150# The default value is: Helvetica.
2151# This tag requires that the tag HAVE_DOT is set to YES.
2152
2153DOT_FONTNAME =
2154
2155# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
2156# dot graphs.
2157# Minimum value: 4, maximum value: 24, default value: 10.
2158# This tag requires that the tag HAVE_DOT is set to YES.
2159
2160DOT_FONTSIZE = 10
2161
2162# By default doxygen will tell dot to use the default font as specified with
2163# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
2164# the path where dot can find it using this tag.
2165# This tag requires that the tag HAVE_DOT is set to YES.
2166
2167DOT_FONTPATH =
2168
2169# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
2170# each documented class showing the direct and indirect inheritance relations.
2171# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
2172# The default value is: YES.
2173# This tag requires that the tag HAVE_DOT is set to YES.
2174
2175CLASS_GRAPH = NO
2176
2177# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
2178# graph for each documented class showing the direct and indirect implementation
2179# dependencies (inheritance, containment, and class references variables) of the
2180# class with other documented classes.
2181# The default value is: YES.
2182# This tag requires that the tag HAVE_DOT is set to YES.
2183
2184COLLABORATION_GRAPH = NO
2185
2186# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
2187# groups, showing the direct groups dependencies.
2188# The default value is: YES.
2189# This tag requires that the tag HAVE_DOT is set to YES.
2190
2191GROUP_GRAPHS = NO
2192
2193# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
2194# collaboration diagrams in a style similar to the OMG's Unified Modeling
2195# Language.
2196# The default value is: NO.
2197# This tag requires that the tag HAVE_DOT is set to YES.
2198
2199UML_LOOK = NO
2200
2201# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
2202# class node. If there are many fields or methods and many nodes the graph may
2203# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
2204# number of items for each type to make the size more manageable. Set this to 0
2205# for no limit. Note that the threshold may be exceeded by 50% before the limit
2206# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
2207# but if the number exceeds 15, the total amount of fields shown is limited to
2208# 10.
2209# Minimum value: 0, maximum value: 100, default value: 10.
2210# This tag requires that the tag HAVE_DOT is set to YES.
2211
2212UML_LIMIT_NUM_FIELDS = 10
2213
2214# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
2215# collaboration graphs will show the relations between templates and their
2216# instances.
2217# The default value is: NO.
2218# This tag requires that the tag HAVE_DOT is set to YES.
2219
2220TEMPLATE_RELATIONS = NO
2221
2222# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
2223# YES then doxygen will generate a graph for each documented file showing the
2224# direct and indirect include dependencies of the file with other documented
2225# files.
2226# The default value is: YES.
2227# This tag requires that the tag HAVE_DOT is set to YES.
2228
2229INCLUDE_GRAPH = NO
2230
2231# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
2232# set to YES then doxygen will generate a graph for each documented file showing
2233# the direct and indirect include dependencies of the file with other documented
2234# files.
2235# The default value is: YES.
2236# This tag requires that the tag HAVE_DOT is set to YES.
2237
2238INCLUDED_BY_GRAPH = NO
2239
2240# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
2241# dependency graph for every global function or class method.
2242#
2243# Note that enabling this option will significantly increase the time of a run.
2244# So in most cases it will be better to enable call graphs for selected
2245# functions only using the \callgraph command.
2246# The default value is: NO.
2247# This tag requires that the tag HAVE_DOT is set to YES.
2248
2249CALL_GRAPH = NO
2250
2251# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
2252# dependency graph for every global function or class method.
2253#
2254# Note that enabling this option will significantly increase the time of a run.
2255# So in most cases it will be better to enable caller graphs for selected
2256# functions only using the \callergraph command.
2257# The default value is: NO.
2258# This tag requires that the tag HAVE_DOT is set to YES.
2259
2260CALLER_GRAPH = NO
2261
2262# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
2263# hierarchy of all classes instead of a textual one.
2264# The default value is: YES.
2265# This tag requires that the tag HAVE_DOT is set to YES.
2266
2267GRAPHICAL_HIERARCHY = NO
2268
2269# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
2270# dependencies a directory has on other directories in a graphical way. The
2271# dependency relations are determined by the #include relations between the
2272# files in the directories.
2273# The default value is: YES.
2274# This tag requires that the tag HAVE_DOT is set to YES.
2275
2276DIRECTORY_GRAPH = NO
2277
2278# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2279# generated by dot.
2280# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
2281# to make the SVG files visible in IE 9+ (other browsers do not have this
2282# requirement).
2283# Possible values are: png, jpg, gif and svg.
2284# The default value is: png.
2285# This tag requires that the tag HAVE_DOT is set to YES.
2286
2287DOT_IMAGE_FORMAT = png
2288
2289# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
2290# enable generation of interactive SVG images that allow zooming and panning.
2291#
2292# Note that this requires a modern browser other than Internet Explorer. Tested
2293# and working are Firefox, Chrome, Safari, and Opera.
2294# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
2295# the SVG files visible. Older versions of IE do not have SVG support.
2296# The default value is: NO.
2297# This tag requires that the tag HAVE_DOT is set to YES.
2298
2299INTERACTIVE_SVG = NO
2300
2301# The DOT_PATH tag can be used to specify the path where the dot tool can be
2302# found. If left blank, it is assumed the dot tool can be found in the path.
2303# This tag requires that the tag HAVE_DOT is set to YES.
2304
2305DOT_PATH =
2306
2307# The DOTFILE_DIRS tag can be used to specify one or more directories that
2308# contain dot files that are included in the documentation (see the \dotfile
2309# command).
2310# This tag requires that the tag HAVE_DOT is set to YES.
2311
2312DOTFILE_DIRS =
2313
2314# The MSCFILE_DIRS tag can be used to specify one or more directories that
2315# contain msc files that are included in the documentation (see the \mscfile
2316# command).
2317
2318MSCFILE_DIRS =
2319
2320# The DIAFILE_DIRS tag can be used to specify one or more directories that
2321# contain dia files that are included in the documentation (see the \diafile
2322# command).
2323
2324DIAFILE_DIRS =
2325
2326# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
2327# path where java can find the plantuml.jar file. If left blank, it is assumed
2328# PlantUML is not used or called during a preprocessing step. Doxygen will
2329# generate a warning when it encounters a \startuml command in this case and
2330# will not generate output for the diagram.
2331
2332PLANTUML_JAR_PATH =
2333
2334# When using plantuml, the specified paths are searched for files specified by
2335# the !include statement in a plantuml block.
2336
2337PLANTUML_INCLUDE_PATH =
2338
2339# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
2340# that will be shown in the graph. If the number of nodes in a graph becomes
2341# larger than this value, doxygen will truncate the graph, which is visualized
2342# by representing a node as a red box. Note that doxygen if the number of direct
2343# children of the root node in a graph is already larger than
2344# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
2345# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
2346# Minimum value: 0, maximum value: 10000, default value: 50.
2347# This tag requires that the tag HAVE_DOT is set to YES.
2348
2349DOT_GRAPH_MAX_NODES = 15
2350
2351# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
2352# generated by dot. A depth value of 3 means that only nodes reachable from the
2353# root by following a path via at most 3 edges will be shown. Nodes that lay
2354# further from the root node will be omitted. Note that setting this option to 1
2355# or 2 may greatly reduce the computation time needed for large code bases. Also
2356# note that the size of a graph can be further restricted by
2357# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
2358# Minimum value: 0, maximum value: 1000, default value: 0.
2359# This tag requires that the tag HAVE_DOT is set to YES.
2360
2361MAX_DOT_GRAPH_DEPTH = 2
2362
2363# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
2364# background. This is disabled by default, because dot on Windows does not seem
2365# to support this out of the box.
2366#
2367# Warning: Depending on the platform used, enabling this option may lead to
2368# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
2369# read).
2370# The default value is: NO.
2371# This tag requires that the tag HAVE_DOT is set to YES.
2372
2373DOT_TRANSPARENT = YES
2374
2375# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
2376# files in one run (i.e. multiple -o and -T options on the command line). This
2377# makes dot run faster, but since only newer versions of dot (>1.8.10) support
2378# this, this feature is disabled by default.
2379# The default value is: NO.
2380# This tag requires that the tag HAVE_DOT is set to YES.
2381
2382DOT_MULTI_TARGETS = NO
2383
2384# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
2385# explaining the meaning of the various boxes and arrows in the dot generated
2386# graphs.
2387# The default value is: YES.
2388# This tag requires that the tag HAVE_DOT is set to YES.
2389
2390GENERATE_LEGEND = YES
2391
2392# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
2393# files that are used to generate the various graphs.
2394# The default value is: YES.
2395# This tag requires that the tag HAVE_DOT is set to YES.
2396
2397DOT_CLEANUP = YES
diff --git a/lib/lufa/Projects/LEDNotifier/makefile b/lib/lufa/Projects/LEDNotifier/makefile
new file mode 100644
index 000000000..b426834fc
--- /dev/null
+++ b/lib/lufa/Projects/LEDNotifier/makefile
@@ -0,0 +1,43 @@
1#
2# LUFA Library
3# Copyright (C) Dean Camera, 2017.
4#
5# dean [at] fourwalledcubicle [dot] com
6# www.lufa-lib.org
7#
8# --------------------------------------
9# LUFA Project Makefile.
10# --------------------------------------
11
12# Run "make help" for target help.
13
14MCU = atmega32u2
15ARCH = AVR8
16BOARD = USB2AX
17F_CPU = 16000000
18F_USB = $(F_CPU)
19OPTIMIZATION = s
20TARGET = LEDNotifier
21SRC = $(TARGET).c Descriptors.c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS)
22LUFA_PATH = ../../LUFA
23CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/
24LD_FLAGS =
25
26# Default target
27all:
28
29# Include LUFA-specific DMBS extension modules
30DMBS_LUFA_PATH ?= $(LUFA_PATH)/Build/LUFA
31include $(DMBS_LUFA_PATH)/lufa-sources.mk
32include $(DMBS_LUFA_PATH)/lufa-gcc.mk
33
34# Include common DMBS build system modules
35DMBS_PATH ?= $(LUFA_PATH)/Build/DMBS/DMBS
36include $(DMBS_PATH)/core.mk
37include $(DMBS_PATH)/cppcheck.mk
38include $(DMBS_PATH)/doxygen.mk
39include $(DMBS_PATH)/dfu.mk
40include $(DMBS_PATH)/gcc.mk
41include $(DMBS_PATH)/hid.mk
42include $(DMBS_PATH)/avrdude.mk
43include $(DMBS_PATH)/atprogram.mk