initial commit
This commit is contained in:
		
							
								
								
									
										62
									
								
								src/app/factory.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								src/app/factory.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,62 @@ | ||||
| /*$file${.::app::factory.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/ | ||||
| /* | ||||
| * Model: XFT.qm | ||||
| * File:  ${.::app::factory.h} | ||||
| * | ||||
| * This code has been generated by QM 5.2.5 <www.state-machine.com/qm>. | ||||
| * DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. | ||||
| * | ||||
| * SPDX-License-Identifier: GPL-3.0-or-later | ||||
| * | ||||
| * This generated code is open source software: you can redistribute it under | ||||
| * the terms of the GNU General Public License as published by the Free | ||||
| * Software Foundation. | ||||
| * | ||||
| * This code is distributed in the hope that it will be useful, but WITHOUT | ||||
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||||
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||||
| * more details. | ||||
| * | ||||
| * NOTE: | ||||
| * Alternatively, this generated code may be distributed under the terms | ||||
| * of Quantum Leaps commercial licenses, which expressly supersede the GNU | ||||
| * General Public License and are specifically designed for licensees | ||||
| * interested in retaining the proprietary status of their code. | ||||
| * | ||||
| * Contact information: | ||||
| * <www.state-machine.com/licensing> | ||||
| * <info@state-machine.com> | ||||
| */ | ||||
| /*$endhead${.::app::factory.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ | ||||
| /* | ||||
|  * @author Rémi Heredero | ||||
|  * @date July 2023 | ||||
|  * @version 1.0.0 | ||||
|  * @see work of Medar Rieder & Pascal Sartoretti about femto XF | ||||
|  */ | ||||
|  | ||||
| #ifndef FACTORY_H | ||||
| #define FACTORY_H | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdbool.h> | ||||
|  | ||||
| #include "../board/led.h" | ||||
|  | ||||
| /*$declare${app::Factory} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/ | ||||
|  | ||||
| /*${app::Factory} ..........................................................*/ | ||||
| typedef struct Factory { | ||||
| /* public: */ | ||||
|     LED l1_; | ||||
| } Factory; | ||||
|  | ||||
| /* public: */ | ||||
| void Factory_init(void); | ||||
| void Factory_build(void); | ||||
| void Factory_start(void); | ||||
| LED* Factory_l1(void); | ||||
| extern Factory Factory_theFactory; | ||||
| /*$enddecl${app::Factory} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ | ||||
|  | ||||
| #endif | ||||
		Reference in New Issue
	
	Block a user