summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/twi/test/avrconfig_master.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_master.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_master.h')
-rw-r--r--digital/avr/modules/twi/test/avrconfig_master.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/avr/modules/twi/test/avrconfig_master.h b/digital/avr/modules/twi/test/avrconfig_master.h
index 6496886d..bc070738 100644
--- a/digital/avr/modules/twi/test/avrconfig_master.h
+++ b/digital/avr/modules/twi/test/avrconfig_master.h
@@ -47,10 +47,10 @@
/* uart - UART module. */
/** Select hardware uart for primary uart: 0, 1 or -1 to disable. */
-#define AC_UART0_PORT 0
+#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. */