Untitled

 avatar
unknown
plain_text
a month ago
311 B
2
Indexable
#ifndef PIN_DEF_H_
#define PIN_DEF_H_

typedef struct 
{
    volatile unsigned char *dir;  // Direction register
    volatile unsigned char *sel;  // Function select register
    volatile unsigned int *ccr;   // Timer CCR register
    unsigned char pin;            // Pin bit
} PinConfig;

#endif

Leave a Comment