50 #if (PARTNO == RM331x) || \ 129 void monetaReadArray(uint16_t address, uint8_t *rxBuffer, uint32_t rxNumBytes);
147 void monetaWriteArray(uint16_t address, uint8_t *txBuffer, uint32_t txNumBytes);
uint8_t txMonetaInternalBuffer[MAXIMUM_TX_BYTES]
void monetaWriteEnable()
OPCODE: 0x06 Sends opcode to enable writing.
void monetaWaitOnReady()
: Wait while Read/Busy Status bit in SRB is 1 (device is busy).
void monetaWriteArray(uint16_t address, uint8_t *txBuffer, uint32_t txNumBytes)
OPCODE: 0x02 Writes txNumBytes bytes of data starting at the address indicated by address...
void monetaHardwareReset()
Exits Ultra Deep Power Down mode using the hardware reset option.
Declarations of spi_driver functions.
void monetaWriteSRB1(uint8_t data)
OPCODE: 0x01 Writes the value in data to status register byte 1.
void monetaReadMID(uint8_t *rxBuffer)
OPCODE: 0x9F Reads the manufacturer ID and stores the data in rxBuffer.
void monetaWriteDisable()
OPCODE: 0x04 Sends opcode to disable writing.
void monetaReadArray(uint16_t address, uint8_t *rxBuffer, uint32_t rxNumBytes)
OPCODE: 0x03 Reads rxNumBytes starting from location 'address' and stores the data in the byte arra...
void monetaWriteSRB2(uint8_t data)
OPCODE: 0x31 Writes the value in data to status register byte 2.
Declarations of helper functions.
void monetaUDPDMode1()
OPCODE: 0x79 Sends the device into Ultra Deep Power Down Mode 1. Exit UDPD Mode 1 by power cycling ...
void monetaReadSR(uint8_t *rxBuffer)
OPCODE: 0x05 Reads the value in the status registers.