Next Previous Contents

3.169 ser_install

Function

Install an already loaded driver and return an error code.

Header

serial.h

Declaration

unsigned char __fastcall__ ser_install (void* driver);

Description

The function installs a driver that was already loaded into memory (or linked statically to the program). It returns an error code (SER_ERR_OK in case of success).

Limits

  • The function is only available as fastcall function, so it may only be used in presence of a prototype.

Availability

cc65

See also

ser_load_driver, ser_uninstall, ser_unload

Example

ser_install(lynx_comlynx); //Include the driver statically instead of loading it.


Next Previous Contents