summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/twi/test/avrconfig_slave.h
diff options
context:
space:
mode:
authorJérémy Dufour2008-03-01 18:13:13 +0100
committerJérémy Dufour2008-03-01 18:13:13 +0100
commit99e387e488e94ab78f50529fdc58b3fad7ec9cae (patch)
tree850ef4f6733f7726b5801323dfdad0d3d645f4f0 /digital/avr/modules/twi/test/avrconfig_slave.h
parentb00920a750534ae581107f4ea48a0d0c6ffba05e (diff)
* TWI: modify to have a working test on cards:
- work with one byte of data exchanged (master send a byte to slave then read it back); - does not manage when slave is not here (no timeout); - use more proto_ functions rather than uart_ ones; - support reset and unknown functions on both test programs; - update configurations to be compatible with the cards used for the test; - add comments.
Diffstat (limited to 'digital/avr/modules/twi/test/avrconfig_slave.h')
-rw-r--r--digital/avr/modules/twi/test/avrconfig_slave.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/avr/modules/twi/test/avrconfig_slave.h b/digital/avr/modules/twi/test/avrconfig_slave.h
index 6fdfd9ad..9cbfd33b 100644
--- a/digital/avr/modules/twi/test/avrconfig_slave.h
+++ b/digital/avr/modules/twi/test/avrconfig_slave.h
@@ -50,7 +50,7 @@
#define AC_UART0_PORT 1
/** Baudrate: 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 76800,
* 115200, 230400, 250000, 500000, 1000000. */
-#define AC_UART0_BAUDRATE 9600
+#define AC_UART0_BAUDRATE 38400
/** Send mode:
* - POLLING: no interrupts.
* - RING: interrupts, ring buffer. */