Untitled

Anonymous
plain_text
01/07/2025 8:23 PM
416 B
13
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

Editor is loading...
Leave a Comment