summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0_0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig/FIG0_0.cpp')
-rw-r--r--src/fig/FIG0_0.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fig/FIG0_0.cpp b/src/fig/FIG0_0.cpp
index b4b0b3a..9a99984 100644
--- a/src/fig/FIG0_0.cpp
+++ b/src/fig/FIG0_0.cpp
@@ -23,11 +23,27 @@
along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "fig/FIG0structs.h"
#include "fig/FIG0_0.h"
#include "utils.h"
namespace FIC {
+struct FIGtype0_0 {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:5;
+ uint8_t PD:1;
+ uint8_t OE:1;
+ uint8_t CN:1;
+
+ uint16_t EId;
+ uint8_t CIFcnt_hight:5;
+ uint8_t Al:1;
+ uint8_t Change:2;
+ uint8_t CIFcnt_low:8;
+} PACKED;
+
//=========== FIG 0/0 ===========
FillStatus FIG0_0::fill(uint8_t *buf, size_t max_size)