mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 18:12:54 -05:00
spi is shared between the rtc and tsc2100
adds the very begining of the rtc driver (only reads the time currently git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea47ee64f0
commit
03f45d3aff
8 changed files with 95 additions and 19 deletions
|
|
@ -62,7 +62,7 @@
|
|||
#define CONFIG_CODEC SWCODEC
|
||||
|
||||
/* define this if you have a real-time clock */
|
||||
//#define CONFIG_RTC RTC_S3C2440
|
||||
#define CONFIG_RTC RTC_RX5X348AB
|
||||
|
||||
/* Define this for LCD backlight available */
|
||||
#define HAVE_BACKLIGHT
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@
|
|||
#define RTC_AS3514 6 /* Sandisk Sansa e200 series */
|
||||
#define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */
|
||||
#define RTC_IMX31L 8
|
||||
#define RTC_RX5X348AB 9
|
||||
|
||||
/* USB On-the-go */
|
||||
#define USBOTG_ISP1362 1362 /* iriver H300 */
|
||||
|
|
|
|||
|
|
@ -18,9 +18,6 @@
|
|||
****************************************************************************/
|
||||
#ifndef __SPI_H__
|
||||
#define __SPI_H__
|
||||
|
||||
int spi_block_transfer(const uint8_t *tx_bytes, unsigned int tx_size,
|
||||
uint8_t *rx_bytes, unsigned int rx_size);
|
||||
void spi_init(void);
|
||||
#include "spi-target.h"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue