projet crepp_git/crepp-projects/my-sensors · branche main
nrf5_wiring_constants.h Voir sur GitLab
/*
 * nRF5 output modes
 */
// Standard 0, Standard 1
#ifndef OUTPUT_S0S1
#define OUTPUT_S0S1	(0x10)
#endif

// High Drive 0, Standard 1
#ifndef OUTPUT_H0S1
#define OUTPUT_H0S1	(0x11)
#endif

// Standard 0, High Drive 1
#ifndef OUTPUT_S0H1
#define OUTPUT_S0H1	(0x12)
#endif

// High Drive both
#ifndef OUTPUT_H0H1
#define OUTPUT_H0H1	(0x13)
#endif

// Disconnected 0, Standard 1
#ifndef OUTPUT_D0S1
#define OUTPUT_D0S1	(0x14)
#endif

// Disconnected 0, High Drive 1
#ifndef OUTPUT_D0H1
#define OUTPUT_D0H1	(0x15)
#endif

// Standard 0, Disconnected 1
#ifndef OUTPUT_S0D1
#define OUTPUT_S0D1	(0x16)
#endif

// High Drive 0, Disconnected 1
#ifndef OUTPUT_H0D1
#define OUTPUT_H0D1	(0x17)
#endif