/* FIXME fill me in */
}
-#define buffered_addr(a) \
- u8 a; \
- inline void set_##a(u8 b) { a = *_##a = b; } \
- inline void bset_##a(u8 m) { a |= m; *_##a = a; } \
- inline void bclr_##a(u8 m) { a &= ~m ; *_##a = a; }
-
-buffered_addr(switch_input)
-buffered_addr(misc_input)
-buffered_addr(home_sensors)
-buffered_addr(changer_output)
-buffered_addr(misc_output)
-
-
-inline void spi_enable() {
- _io_ports[M6811_SPCR] |= M6811_SPE;
-}
-
-inline void spi_disable() {
- _io_ports[M6811_SPCR] &= ~M6811_SPE;
-}