EE445M RTOS
Taken at the University of Texas Spring 2015
|
#include "../common/adcpp.hpp"
#include "../common/blinker.hpp"
#include "../common/uartpp.hpp"
#include "../common/shellpp.hpp"
#include "../common/semaphorepp.hpp"
#include "../common/motorpp.hpp"
#include "../common/drivepp.hpp"
#include "../common/canpp.hpp"
#include "../common/ctlsysctl.hpp"
#include "../common/switchpp.hpp"
#include "libos/os.h"
#include "libschedule/schedule.h"
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "driverlib/adc.h"
#include "driverlib/sysctl.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/uart.h"
Go to the source code of this file.
Macros | |
#define | UART0_RX_BUFFER_SIZE 8 |
Functions | |
void | timer_updater () |
int | main (void) |
void | Timer2A_Handler () |
void | Timer1A_Handler () |
void | __cxa_pure_virtual () |
Variables | |
timer | countdown_timer |
timer | blink_timer |
blinker | blink |
uart | uart0 |
static semaphore | UART0_RX_SEM |
static buffer< char, 8 > | UART0_RX_BUFFER |
#define UART0_RX_BUFFER_SIZE 8 |
Definition at line 36 of file test-countdown.cpp.
void __cxa_pure_virtual | ( | ) |
Definition at line 82 of file test-countdown.cpp.
int main | ( | void | ) |
Definition at line 51 of file test-countdown.cpp.
References ctlsys::set_clock(), timer_updater(), and UART0_RX_SEM.
void Timer1A_Handler | ( | ) |
Definition at line 77 of file test-countdown.cpp.
References timer::ack(), PIN_GREEN, and blinker::toggle().
void Timer2A_Handler | ( | ) |
Definition at line 72 of file test-countdown.cpp.
References timer::ack(), PIN_RED, and blinker::toggle().
void timer_updater | ( | ) |
Definition at line 40 of file test-countdown.cpp.
References uart::printf().
Referenced by main().
blinker blink |
Definition at line 33 of file test-countdown.cpp.
timer blink_timer |
Definition at line 32 of file test-countdown.cpp.
timer countdown_timer |
Definition at line 31 of file test-countdown.cpp.
uart uart0 |
Definition at line 34 of file test-countdown.cpp.
|
static |
Definition at line 38 of file test-countdown.cpp.
|
static |
Definition at line 37 of file test-countdown.cpp.
Referenced by main().