#include <mios32.h>#include <FreeRTOS.h>#include <portmacro.h>#include <task.h>#include <queue.h>#include <semphr.h>#include "dmx.h"Defines | |
| #define | PRIORITY_TASK_DMX ( tskIDLE_PRIORITY + 3 ) |
Functions | |
| s32 | DMX_Init (u32 mode) |
| s32 | DMX_SetChannel (u16 channel, u8 value) |
| s32 | DMX_GetChannel (u16 channel) |
| DMX_IRQHANDLER_FUNC | if ((dmx_state==DMX_BREAK)&&(DMX->SR &USART_FLAG_TC)) |
| if (DMX->SR &USART_FLAG_TXE) | |
Variables | |
| xSemaphoreHandle | xDMXSemaphore |
| signed portBASE_TYPE | x = pdFALSE |
| #define PRIORITY_TASK_DMX ( tskIDLE_PRIORITY + 3 ) |
Initialize DMX Interface
| [in] | mode | currently only mode 0 supported |
| if | ( | DMX->SR & | USART_FLAG_TXE | ) |

| DMX_IRQHANDLER_FUNC if | ( | (dmx_state==DMX_BREAK)&&(DMX->SR &USART_FLAG_TC) | ) |
| signed portBASE_TYPE x = pdFALSE |
| xSemaphoreHandle xDMXSemaphore |
1.6.1