You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
404 B
18 lines
404 B
3 years ago
|
#include "SIM_JEDEC_MX25L3206E.h"
|
||
|
|
||
|
using namespace SITL;
|
||
|
|
||
|
void JEDEC_MX25L3206E::fill_rdid(uint8_t *buffer, uint8_t len)
|
||
|
{
|
||
|
buffer[0] = 0xC2;
|
||
|
buffer[1] = type;
|
||
|
buffer[2] = density;
|
||
|
}
|
||
|
|
||
|
void JEDEC_MX25L3206E::fill_rdsr(uint8_t *buffer, uint8_t len)
|
||
|
{
|
||
|
// we never allow multiple operations at a time
|
||
|
// hence we can never be busy while reading the status register
|
||
|
buffer[0] = 0x00;
|
||
|
}
|