dodany kod c od Krzyska po wielu modyfikacjach przez Gemini zeby usunac zalezność od TI-RTOS

This commit is contained in:
2026-02-19 11:59:33 +01:00
parent bf9c4596b8
commit d086ef28de
336 changed files with 52294 additions and 1006 deletions

47
src/nor.h Normal file
View File

@@ -0,0 +1,47 @@
/*
* nor.h
*
*
* Created on: 29-04-2014
* Author: KJ
*/
#ifndef NOR_H_
#define NOR_H_
#include "tdefs.h"
struct nor_logic
{
u8 *out_ptr;
u8 out_bit_no;
u8 *in1_ptr;
u8 in1_bit_no;
u8 *in2_ptr;
u8 in2_bit_no;
};
struct nor_io
{
u32 in1;
u32 in2;
u32 out;
}__attribute__((__packed__));
struct nor_params
{
}__attribute__((__packed__));
struct nor_args
{
struct nor_io io;
struct nor_params params;
// u16 crc;
}__attribute__((__packed__));
extern void nor(void *args, void *logic);
extern int nor_initlog(void *args, void *logic);
#endif /* NOR_H_ */