Added multiply and convert functions, also added 32 bit int types

This commit is contained in:
2021-01-17 16:09:41 +01:00
parent 6e2ab11578
commit 7f014174b1
5 changed files with 151 additions and 4 deletions

5
include/convert.h Normal file
View File

@@ -0,0 +1,5 @@
#pragma once
#include "types.h"
uint32_t uint16_to_bcd(uint16_t value);

View File

@@ -1,7 +1,9 @@
#pragma once
typedef signed char int8_t;
typedef short int int16_t;
typedef signed char int8_t;
typedef signed short int int16_t;
typedef signed long int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned long int uint32_t;