|
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 "../common/pingpp.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 | ping_handler () |
| int | main (void) |
| void | Timer1A_Handler () |
| void | GPIOPortD_Handler () |
| void | __cxa_pure_virtual () |
Variables | |
| blinker | blink |
| uart | uart0 |
| ping | ping0 |
| semaphore * | ping0_sem |
| static semaphore | UART0_RX_SEM |
| static buffer< char, 8 > | UART0_RX_BUFFER |
| #define UART0_RX_BUFFER_SIZE 8 |
Definition at line 37 of file test-ping.cpp.
| void __cxa_pure_virtual | ( | ) |
Definition at line 79 of file test-ping.cpp.
| void GPIOPortD_Handler | ( | ) |
Definition at line 75 of file test-ping.cpp.
References ping::handle_gpio().

| int main | ( | void | ) |
Definition at line 54 of file test-ping.cpp.
References ping::get_sem(), ping_handler(), ctlsys::set_clock(), and UART0_RX_SEM.

| void ping_handler | ( | ) |
Definition at line 41 of file test-ping.cpp.
References ping::average(), semaphore::guard(), uart::printf(), ping::sample(), and ping::start().
Referenced by main().


| void Timer1A_Handler | ( | ) |
Definition at line 71 of file test-ping.cpp.
References ping::handle_timer().

| blinker blink |
Definition at line 32 of file test-ping.cpp.
| ping ping0 |
Definition at line 34 of file test-ping.cpp.
| semaphore* ping0_sem |
Definition at line 35 of file test-ping.cpp.
| uart uart0 |
Definition at line 33 of file test-ping.cpp.
|
static |
Definition at line 39 of file test-ping.cpp.
|
static |
Definition at line 38 of file test-ping.cpp.
Referenced by main().