Koduino
pins.h
1 
19 #ifndef Pins_h
20 #define Pins_h
21 
22 #include <stdint.h>
23 #include "types.h"
24 
25 #ifdef __cplusplus
26 extern "C"{
27 #endif // __cplusplus
28 
29 
46 void pinMode(uint8_t pin, WiringPinMode mode);
47 
56 void pinRemap(uint8_t pin, uint8_t altFunc, uint8_t timer, uint8_t channel);
57 
66 void pinModeAlt(uint8_t pin, uint32_t oType, uint32_t pull, uint8_t altFunc);
67 
70 #ifdef __cplusplus
71 } // extern "C"
72 #endif
73 
74 #endif
void pinRemap(uint8_t pin, uint8_t altFunc, uint8_t timer, uint8_t channel)
Low-level function to reassign AF number of timer assigned to a pin. The default assignments are here...
Definition: pins.c:26
void pinModeAlt(uint8_t pin, uint32_t oType, uint32_t pull, uint8_t altFunc)
Low-level function to configure the pin for a specific alternate function. The user should not need t...
Definition: pins.c:163
void pinMode(uint8_t pin, WiringPinMode mode)
Configure a pin before using it.
Definition: pins.c:33