hw_dataflash.c
Go to the documentation of this file.00001
00014 #include "hw_dataflash.h"
00015
00016 #include <cfg/compiler.h>
00017 #include <cfg/module.h>
00018 #include <cfg/macros.h>
00019
00020 #include <io/arm.h>
00021
00022
00023 MOD_DEFINE(hw_dataflash);
00024
00033 void dataflash_hw_init(void)
00034 {
00035 #warning The data flash init pins function is not implemented!
00036
00037
00038 dataflash_hw_setCS(false);
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048 MOD_INIT(hw_dataflash);
00049 }
00050
00059 void dataflash_hw_setCS(bool enable)
00060 {
00061 #warning The data flash setCS function is not implemented!
00062 if (enable)
00063 {
00064
00065
00066
00067
00068 }
00069 else
00070 {
00071
00072
00073
00074
00075 }
00076 }
00077
00087 void dataflash_hw_setReset(bool enable)
00088 {
00089 #warning The data flash setReset function is not implemented!
00090 if (enable)
00091 {
00092
00093
00094
00095
00096 }
00097 else
00098 {
00099
00100
00101
00102
00103 }
00104 }
00105