summaryrefslogtreecommitdiff
path: root/cesar/interface/inc
diff options
context:
space:
mode:
authorlaranjeiro2009-02-09 13:36:40 +0000
committerlaranjeiro2009-02-09 13:36:40 +0000
commit384f123ae09ed70b0a13a0de186a48ca7abc74ad (patch)
tree75c8eca602f680563e99414b7ee32120604cb1d4 /cesar/interface/inc
parent47ea12630885495a666e809d3583f2d2f6420c71 (diff)
cesar: Removed the use of the read_word library except in the SAR module. (Closes #278).
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@3946 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/interface/inc')
-rw-r--r--cesar/interface/inc/interface.h2
-rw-r--r--cesar/interface/inc/mme_process.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/cesar/interface/inc/interface.h b/cesar/interface/inc/interface.h
index fcae6f8ae6..bee22e4bfa 100644
--- a/cesar/interface/inc/interface.h
+++ b/cesar/interface/inc/interface.h
@@ -18,8 +18,6 @@
#include "interface/interface.h"
#include "interface/defs-mmtype.h"
-#include "lib/read_word.h"
-
/**
* The buffer shall be provided to the CP.
* \param ctx the interface context.
diff --git a/cesar/interface/inc/mme_process.h b/cesar/interface/inc/mme_process.h
index 483c4980a4..94263e68c3 100644
--- a/cesar/interface/inc/mme_process.h
+++ b/cesar/interface/inc/mme_process.h
@@ -13,6 +13,7 @@
* \ingroup interface
*
*/
+#include "lib/bitstream.h"
/**
* Interface read the MMtype of the MME.
@@ -24,7 +25,7 @@ extern inline uint
interface_mmtype_get (u8 *buffer)
{
dbg_assert (buffer);
- return read_u16_from_word (buffer + 0xF);
+ return bitstream_direct_read (buffer + 0xF, 0, 16);
}
/**
@@ -40,7 +41,7 @@ extern inline uint
interface_moduleid_get (u8 *buffer)
{
dbg_assert (buffer);
- return read_u8_from_word (buffer + 0x13);
+ return bitstream_direct_read (buffer + 0x13, 0, 8);
}
/**