TMS320DM320: Add generic I/O debug window for targets other than mrobe 500.

DEBUG_GIO allows users to set any GIO options (direction, output state). As this feature should be used only by experienced users it is compiled conditionally.

Raise I2C delay values since udelay() is now precise and previous values seems to be too low for some devices.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomasz Moń 2011-12-24 14:18:53 +00:00
parent 616d7869e9
commit 4539ffe1f3
2 changed files with 170 additions and 12 deletions

View file

@ -258,12 +258,12 @@ static const struct i2c_interface dm320_i2c_interface = {
.delay = dm320_i2c_delay,
/* uncalibrated */
.delay_hd_sta = 1,
.delay_hd_dat = 1,
.delay_su_dat = 1,
.delay_su_sto = 1,
.delay_su_sta = 1,
.delay_thigh = 1
.delay_hd_sta = 2,
.delay_hd_dat = 2,
.delay_su_dat = 2,
.delay_su_sto = 2,
.delay_su_sta = 2,
.delay_thigh = 2
};
void i2c_init(void)