mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			LPC55S69: Add restricted GPIO pins for FPGA testing
							parent
							
								
									83b7b6d142
								
							
						
					
					
						commit
						a0ff95bed5
					
				| 
						 | 
				
			
			@ -16,3 +16,24 @@
 | 
			
		|||
 | 
			
		||||
#include "PeripheralPins.h"
 | 
			
		||||
#include "PeripheralPinMaps.h"
 | 
			
		||||
 | 
			
		||||
// List of GPIOs with limited functionality
 | 
			
		||||
const PinList *pinmap_gpio_restricted_pins()
 | 
			
		||||
{
 | 
			
		||||
    static const PinName pins[] = {
 | 
			
		||||
        A4,   // fixed pull-up (for I2C)
 | 
			
		||||
        A5,   // fixed pull-up (for I2C)
 | 
			
		||||
        D5,   // fixed pull-up (for LED)
 | 
			
		||||
        D3,   // fixed pull-up (for LED)
 | 
			
		||||
        D4,   // fixed pull-up (for LED)
 | 
			
		||||
        D7,   // fixed pull-up
 | 
			
		||||
        D15,  // fixed pull-up (for I2C)
 | 
			
		||||
        D14   // fixed pull-up (for I2C)
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    static const PinList pin_list = {
 | 
			
		||||
        sizeof(pins) / sizeof(pins[0]),
 | 
			
		||||
        pins
 | 
			
		||||
    };
 | 
			
		||||
    return &pin_list;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue