modserial

Dependencies:   MODSERIAL

Fork of MODSERIAL by Erik -

Committer:
Margreeth95
Date:
Wed Oct 07 18:07:04 2015 +0000
Revision:
41:ea349f8d0ac5
Parent:
39:8ef4f91813fd
Child:
40:6ffa97119f4f
EMG signaal uitlezen, hoogdoorlaatfilter (redelijk goed), laagdoorlaatfilter (slecht). Lampje aansturen gaat nog fout

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AjK 12:8c7394e2ae7f 1 /*
AjK 12:8c7394e2ae7f 2 Copyright (c) 2010 Andy Kirkham
AjK 12:8c7394e2ae7f 3
AjK 12:8c7394e2ae7f 4 Permission is hereby granted, free of charge, to any person obtaining a copy
AjK 12:8c7394e2ae7f 5 of this software and associated documentation files (the "Software"), to deal
AjK 12:8c7394e2ae7f 6 in the Software without restriction, including without limitation the rights
AjK 12:8c7394e2ae7f 7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
AjK 12:8c7394e2ae7f 8 copies of the Software, and to permit persons to whom the Software is
AjK 12:8c7394e2ae7f 9 furnished to do so, subject to the following conditions:
AjK 12:8c7394e2ae7f 10
AjK 12:8c7394e2ae7f 11 The above copyright notice and this permission notice shall be included in
AjK 12:8c7394e2ae7f 12 all copies or substantial portions of the Software.
AjK 12:8c7394e2ae7f 13
AjK 12:8c7394e2ae7f 14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
AjK 12:8c7394e2ae7f 15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
AjK 12:8c7394e2ae7f 16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AjK 12:8c7394e2ae7f 17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
AjK 12:8c7394e2ae7f 18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
AjK 12:8c7394e2ae7f 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
AjK 12:8c7394e2ae7f 20 THE SOFTWARE.
AjK 12:8c7394e2ae7f 21 */
AjK 12:8c7394e2ae7f 22
AjK 12:8c7394e2ae7f 23 #ifndef MODSERIAL_MACROS_H
AjK 12:8c7394e2ae7f 24 #define MODSERIAL_MACROS_H
AjK 12:8c7394e2ae7f 25
Sissors 28:76793a84f9e5 26 #include "MODSERIAL_LPC1768.h"
Sissors 28:76793a84f9e5 27 #include "MODSERIAL_LPC11U24.h"
Sissors 28:76793a84f9e5 28 #include "MODSERIAL_KL25Z.h"
chaegle 34:e84b8ad1d98b 29 #include "MODSERIAL_KL05Z.h"
Sissors 39:8ef4f91813fd 30 #include "MODSERIAL_KSDK.h"
AjK 12:8c7394e2ae7f 31
AjK 12:8c7394e2ae7f 32 #define MODSERIAL_TX_BUFFER_EMPTY (buffer_count[TxIrq]==0)
AjK 12:8c7394e2ae7f 33 #define MODSERIAL_RX_BUFFER_EMPTY (buffer_count[RxIrq]==0)
AjK 12:8c7394e2ae7f 34 #define MODSERIAL_TX_BUFFER_FULL (buffer_count[TxIrq]==buffer_size[TxIrq])
AjK 12:8c7394e2ae7f 35 #define MODSERIAL_RX_BUFFER_FULL (buffer_count[RxIrq]==buffer_size[RxIrq])
AjK 12:8c7394e2ae7f 36
Sissors 28:76793a84f9e5 37 #endif