#include "asuro_unix.h"
#include "asuro_unix_decode.h"
#include "asuro_defs.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
void | AS_unix_sh_SIGALRM (int signo, siginfo_t *info, void *context) |
Call SIG_OUTPUT_COMPARE2 ISR and evaulate IO vector. | |
int | AS_unix_prepareIo (int io_addr) |
This function is called just before any read or write access to the IO vector. | |
void | AS_Init (void) |
Do some initialization stuff. | |
Variables | |
volatile int | AS_unix_alarmCount = 0 |
volatile double | AS_unix_simTime = 0.0 |
volatile int | AS_unix_ioLock = 0 |
Definition in file asuro_unix.c.
|
This function is called just before any read or write access to the IO vector. Any reactions on IO requests have to be handled here. At the moment, the following is handled here:
Definition at line 72 of file asuro_unix.c. References AS_unix_ioLock, UCSRA, UCSRB, and UDR. |