modules/fram/fram.c File Reference

#include <mios32.h>
#include "fram.h"

Defines

#define FRAM_SLAVEID_MASK   0xA0

Functions

s32 FRAM_Init (u8 mode)
s32 FRAM_CheckAvailable (u8 device_addr)
s32 FRAM_Read (u8 device_addr, u16 mem_addr, u8 *buffer, u16 buffer_len)
s32 FRAM_Write (u8 device_addr, u16 mem_addr, u8 *buffer, u16 buffer_len)
s32 FRAM_TransferWaitCheck (u8 blocking)
s32 FRAM_SemaphoreEnter (u8 blocking)
void FRAM_SemaphoreLeave (void)
s32 FRAM_Transfer (FRAM_transfer_t transfer_type, u8 device_addr, u16 mem_addr, u8 *buffer, u16 buffer_len)

Define Documentation

#define FRAM_SLAVEID_MASK   0xA0

Function Documentation

s32 FRAM_CheckAvailable ( u8  device_addr  ) 

Here is the call graph for this function:

s32 FRAM_Init ( u8  mode  ) 

Here is the call graph for this function:

s32 FRAM_Read ( u8  device_addr,
u16  mem_addr,
u8 buffer,
u16  buffer_len 
)

Here is the call graph for this function:

s32 FRAM_SemaphoreEnter ( u8  blocking  ) 

Here is the call graph for this function:

void FRAM_SemaphoreLeave ( void   ) 

Here is the call graph for this function:

s32 FRAM_Transfer ( FRAM_transfer_t  transfer_type,
u8  device_addr,
u16  mem_addr,
u8 buffer,
u16  buffer_len 
)

Here is the call graph for this function:

s32 FRAM_TransferWaitCheck ( u8  blocking  ) 

Here is the call graph for this function:

s32 FRAM_Write ( u8  device_addr,
u16  mem_addr,
u8 buffer,
u16  buffer_len 
)

Here is the call graph for this function:


Generated on 22 Jan 2016 for MIOS32 by  doxygen 1.6.1