This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-rescue/avr.h

17 lines
244 B
C
Raw Normal View History

2007-04-03 12:48:00 +00:00
#ifndef _ROBOCUP_AVR_H_
#define _ROBOCUP_AVR_H_
#include <stdint.h>
typedef struct {
volatile uint8_t *port;
volatile uint8_t *pwmPort;
uint8_t fwdMask;
uint8_t revMask;
} MOTOR;
void setMotorSpeed(MOTOR *motor, int speed);
#endif