mirror of
https://github.com/V2RetroComputing/analog-firmware.git
synced 2024-06-10 22:29:39 +00:00
Analog GS jumpers and M2B0
This commit is contained in:
parent
006ff637a6
commit
8531bb7881
|
@ -57,8 +57,13 @@ static void abus_main_setup(PIO pio, uint sm) {
|
||||||
// map the SET pin group to the bus transceiver enable signals
|
// map the SET pin group to the bus transceiver enable signals
|
||||||
sm_config_set_set_pins(&c, CONFIG_PIN_APPLEBUS_CONTROL_BASE+1, 3);
|
sm_config_set_set_pins(&c, CONFIG_PIN_APPLEBUS_CONTROL_BASE+1, 3);
|
||||||
|
|
||||||
|
#ifdef ANALOG_GS
|
||||||
|
// configure left shift into ISR & autopush every 32 bits
|
||||||
|
sm_config_set_in_shift(&c, false, true, 32);
|
||||||
|
#else
|
||||||
// configure left shift into ISR & autopush every 26 bits
|
// configure left shift into ISR & autopush every 26 bits
|
||||||
sm_config_set_in_shift(&c, false, true, 26);
|
sm_config_set_in_shift(&c, false, true, 26);
|
||||||
|
#endif
|
||||||
|
|
||||||
pio_sm_init(pio, sm, program_offset, &c);
|
pio_sm_init(pio, sm, program_offset, &c);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user