summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/mhz16/jsupm_mhz16.i
blob: 2b3f9d8eb485fcae5478c91e1841c1a9c4d25e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%module jsupm_mhz16
%include "../upm.i"
%include "cpointer.i"

/* Send "int *" to JavaScript as intp */
%pointer_functions(int, intp);
%{
    #include "mhz16.h"
    speed_t int_B9600 = B9600;
%}

%include "mhz16.h"
speed_t int_B9600 = B9600;