SWE-350 TOTP Generator Milestone 5
The DE-10 board has six 7-segment displays, this can be used to display and generate a time based one-time pin (TOTP).
Loading...
Searching...
No Matches
increment_leds.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include "../address_map_arm.h"
Include dependency graph for increment_leds.c:

Go to the source code of this file.

Functions

int open_physical (int)
 
void * map_physical (int, unsigned int, unsigned int)
 
void close_physical (int)
 
int unmap_physical (void *, unsigned int)
 
int increment_leds (int total)
 

Function Documentation

◆ close_physical()

void close_physical ( int fd)

Definition at line 55 of file increment_leds.c.

Here is the caller graph for this function:

◆ increment_leds()

int increment_leds ( int total)

Definition at line 14 of file increment_leds.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ map_physical()

void * map_physical ( int fd,
unsigned int base,
unsigned int span )

Definition at line 64 of file increment_leds.c.

Here is the caller graph for this function:

◆ open_physical()

int open_physical ( int fd)

Definition at line 43 of file increment_leds.c.

Here is the caller graph for this function:

◆ unmap_physical()

int unmap_physical ( void * virtual_base,
unsigned int span )

Definition at line 82 of file increment_leds.c.

Here is the caller graph for this function: