MOS Source Code
Loading...
Searching...
No Matches
avr_io.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
+ Include dependency graph for avr_io.c:

Go to the source code of this file.

Functions

int app_main (int argc, const char **argv)
 
int uart_putchar (char c, FILE *stream)
 
int uart_getchar (FILE *stream)
 
void abort (void)
 
int main (void)
 

Variables

struct { 
 
   uint8_t   argc 
 
   char   args [3][16] 
 
g_args 
 
FILE uart_str = FDEV_SETUP_STREAM(uart_putchar, uart_getchar, _FDEV_SETUP_RW)
 
static char g_malloc_heap [8192]
 
uint32_t __bss_end
 

Function Documentation

◆ app_main()

int app_main ( int argc,
const char ** argv )
extern

◆ uart_putchar()

int uart_putchar ( char c,
FILE * stream )

Definition at line 19 of file avr_io.c.

◆ uart_getchar()

int uart_getchar ( FILE * stream)

Definition at line 26 of file avr_io.c.

◆ main()

int main ( void )

Definition at line 51 of file avr_io.c.

+ Here is the call graph for this function:

Variable Documentation

◆ argc

uint8_t argc

Definition at line 15 of file avr_io.c.

◆ args

◆ [struct]

struct { ... } g_args

Referenced by main().

◆ uart_str

FILE uart_str = FDEV_SETUP_STREAM(uart_putchar, uart_getchar, _FDEV_SETUP_RW)

Definition at line 33 of file avr_io.c.

Referenced by main().

◆ g_malloc_heap

char g_malloc_heap[8192]
static

Definition at line 34 of file avr_io.c.

Referenced by main().

◆ __bss_end

uint32_t __bss_end
extern

Referenced by abort(), and main().