MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / floppy_motorOn

Function floppy_motorOn

bsp/x86/drivers/floppy.c:154–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154void floppy_motorOn( void )
155{
156 u32 eflags;
157 if (!floppy_motor)
158 {
159 _local_irq_save(eflags);
160 OUTB(28,FD_DOR);
161 floppy_motor = 1;
162 _local_irq_restore(eflags);
163 }
164 return;
165}
166
167
168void floppy_motorOff( void )

Callers 1

floppy_read_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected