PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
spi_sdcard_crc7.h
1#ifndef __SPI_SDCARD_CRC7_H__
2#define __SPI_SDCARD_CRC7_H__
3
4/* Includes ------------------------------------------------------------------*/
5#include <tamtypes.h>
6#include <stddef.h>
7#include "spi_sdcard_driver_config.h"
8// Set
9
10#if SD_CRC7_MODE == CRC7_MODE_RAM_TABLE
11extern void crc7_generate_table(void);
12#endif
13
14extern uint8_t crc7(const uint8_t message[], size_t length);
15
16#endif //__SPI_SDCARD_CRC7_H__