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

Function floppy_motorOff

bsp/x86/drivers/floppy.c:168–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167
168void floppy_motorOff( void )
169{
170 u32 eflags;
171 if (floppy_motor)
172 {
173 _local_irq_save(eflags);
174 OUTB(12,FD_DOR);
175 floppy_motor = 0;
176 _local_irq_restore(eflags);
177
178 }
179 return;
180}
181
182
183void floppy_setmode(void)

Callers 1

rt_floppy_readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected