#include "sgl.h" void slInitPeripheral( void );
void - gives nothing.
void - returns nothing.
slInitSystem |
#include "sgl.h" Uint8 slGetPortDir1( void ); Uint8 slGetPortDir2( void );
void - gives nothing.
Uint8 - Peripheral port input/output direction (described later).
slSetPortDir1 | slSetPortDir2 | slGetPortData1 | slGetPortData2 |
slSetPortData1 | slSetPortData2 |
#include "sgl.h" Uint8 dir; Bool slSetPortDir1( dir ); Bool slSetPortDir2( dir );
Uint8 dir - Peripheral port input/output direction (described later).
Bool - Flag indicating whether the process ended normally (described later).
slGetPortDir1 | slGetPortDir2 | slGetPortData1 | slGetPortData2 |
slSetPortData1 | slSetPortData2 | slGetStatus | slGetPeripheral |
#include "sgl.h" Uint8 slGetPortData1( void ); Uint8 slGetPortData2( void );
void - gives nothing.
Uint8 - Peripheral port data.
slGetPortDir1 | slGetPortDir2 | slSetPortDir1 | slGetPortDir2 |
slGetPortData1 | slGetPortData2 | slGetStatus | slGetPeripheral |
#include "sgl.h" Uint8 data; void slSetPortData1( data ); void slSetPortData2( data );
Uint8 data - the data you want to set.
void - returns nothing.
slGetPortDir1 | slGetPortDir2 | slSetPortDir1 | slGetPortDir2 |
slSetPortData1 | slSetPortData2 | slGetStatus | slGetPeripheral |
#include "sgl.h" Uint8 slGetPortSelect1( void ); Uint8 slGetPortSelect2( void );
void - gives nothing.
Uint8 - Peripheral port input/output selection mode (described later).
slSetPortSelect1 | slSetPortSelect2 |
#include "sgl.h" Uint8 mode; Bool slSetPortSelect1( mode ); Bool slSetPortSelect2( mode );
Uint8 mode - Peripheral port input/output selection mode (described later).
Bool - Flag indicating whether the process ended normally (described later).
slGetPortSelect1 | slGetPortSelect2 |
#include "sgl.h" Uint8 slGetPortExt1( void ); Uint8 slGetPortExt2( void );
void - gives nothing.
Uint8 - External latch input mode (described below).
slSetPortExt1 | slSetPortExt2 |
#include "sgl.h" Uint8 mode; Bool slSetPortExt1( mode ); Bool slSetPortExt2( mode );
Uint8 mode - External latch input mode (described later).
Bool - Flag indicating whether the process ended normally (described later).
slGetPortExt1 | slGetPortExt2 |
#include "sgl.h" Uint8 slGetOptimize( void );
void - gives nothing.
Uint8 - Peripheral acquisition time optimization mode (described below).
slSetOptimize | slGetStatus |
#include "sgl.h" Uint8 mode; Bool slSetOptimize( mode );
Uint8 mode - Peripheral acquisition time optimization mode (described below).
Bool - Flag indicating whether the process ended normally (described later).
slGetOptimize | slGetStatus |
#include "sgl.h" Uint8 slGetPortMode1( void ); Uint8 slGetPortMode2( void );
void - gives nothing.
Uint8 - Port mode of peripheral port (described below).
slSetPortMode1 | slSetPortMode2 | slGetStatus |
#include "sgl.h" Uint8 mode; Bool slSetPortMode1( mode ); Bool slSetPortMode2( mode );
Uint8 mode - Port mode of peripheral port (described below).
Bool - Flag indicating whether the process ended normally (described later).
slGetPortMode1 | slGetPortMode2 | slGetStatus |
#include "sgl.h" Uint8 slCheckReset( void );
void - gives nothing.
Uint8 - SMPC reset button status (described later).
slClearReset | slGetStatus |
#include "sgl.h" Bool slClearReset( void );
void - gives nothing.
Bool - Flag indicating whether the process ended normally (described later).
slCheckReset | slGetStatus |
#include "sgl.h" Bool slIntBackCancel( void );
void - gives nothing.
Bool - Flag indicating whether the process ended normally (described later).
slGetStatus | slGetPeripheral |
#include "sgl.h" Uint8 slGetLanguage( void );
void - gives nothing.
Uint8 - Language information number.
slSetLanguage | slGetStatus |
#include "sgl.h" Uint8 num; void slSetLanguage( num );
Uint8 num - Language information number (described later).
void - returns nothing.
slGetLanguage | slGetStatus |
#include "sgl.h" Uint8 slGetSoundEffect( void );
void - gives nothing.
Uint8 - Sound effect mode.
slSetSoundEffect | slGetStatus |
#include "sgl.h" Uint8 mode; void slSetSoundEffect( mode );
Uint8 mode - Sound effect mode (described later).
void - returns nothing.
slGetSoundEffect | slGetStatus |
#include "sgl.h" Uint8 slGetSoundOutput( void );
void - gives nothing.
Uint8 - Audio output mode (described later).
The STREO/MONO mode obtained here has nothing to do with the sound driver output. For sounds emitted from the application through the sound driver, you need to configure the sound driver's STREO/MONO settings.
slSetSoundOutput | slGetStatus |
#include "sgl.h" Uint8 mode; void slSetSoundOutput( mode );
Uint8 mode - Audio output mode (described later).
void - returns nothing.
slGetSoundOutput | slGetStatus |
#include "sgl.h" Uint8 slGetHelpWindow( void );
void - gives nothing.
Uint8 - Help window mode (described below).
slSetHelpWindow | slGetStatus |
#include "sgl.h" Uint8 mode; void slSetHelpWindow( mode );
Uint8 mode - Help window mode (described below).
void - returns nothing.
slGetHelpWindow | slGetStatus |
#include "sgl.h" Bool slGetStatus( void );
void - gives nothing.
Bool - Flag indicating whether the process ended normally (described later).
slSetPortDir1 | slSetPortDir2 | slGetPeripheral | slInitSystem |
#include "sgl.h" Bool slGetPeripheral( void );
void - gives nothing.
Bool - Flag indicating whether the process ended normally (described later).
slGetStatus | slSetPortDir1 | slSetPortDir2 | slInitSystem |