ChibiOS  0.0.0
m25q.c File Reference

Micron serial flash driver code. More...

#include <string.h>
#include "hal.h"
#include "m25q.h"

Go to the source code of this file.

Functions

void m25qObjectInit (M25QDriver *devp)
 Initializes an instance. More...
 
void m25qStart (M25QDriver *devp, const M25QConfig *config)
 Configures and activates N25Q128 driver. More...
 
void m25qStop (M25QDriver *devp)
 Deactivates the N25Q128 driver. More...
 
void m25qMemoryMap (M25QDriver *devp, uint8_t **addrp)
 Enters the memory Mapping mode. More...
 
void m25qMemoryUnmap (M25QDriver *devp)
 Leaves the memory Mapping mode. More...
 

Variables

static const struct M25QDriverVMT m25q_vmt
 Virtual methods table. More...
 
static flash_descriptor_t m25q_descriptor
 N25Q128 descriptor. More...
 

Detailed Description

Micron serial flash driver code.

Definition in file m25q.c.