You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							604 B
						
					
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							604 B
						
					
					
				# TODO: these are also defined in a header
 | 
						|
 | 
						|
# GPIO pin definitions
 | 
						|
class GPIO:
 | 
						|
  # both GPIO_STM_RST_N and GPIO_LTE_RST_N are misnamed, they are high to reset
 | 
						|
  HUB_RST_N = 30
 | 
						|
  UBLOX_RST_N = 32
 | 
						|
  UBLOX_SAFEBOOT_N = 33
 | 
						|
  UBLOX_PWR_EN = 34
 | 
						|
  STM_RST_N = 124
 | 
						|
  STM_BOOT0 = 134
 | 
						|
 | 
						|
  SIREN = 42
 | 
						|
  SOM_ST_IO = 49
 | 
						|
 | 
						|
  LTE_RST_N = 50
 | 
						|
  LTE_PWRKEY = 116
 | 
						|
  LTE_BOOT = 52
 | 
						|
 | 
						|
  # GPIO_CAM0_DVDD_EN = /sys/kernel/debug/regulator/camera_rear_ldo
 | 
						|
  CAM0_AVDD_EN = 8
 | 
						|
  CAM0_RSTN = 9
 | 
						|
  CAM1_RSTN = 7
 | 
						|
  CAM2_RSTN = 12
 | 
						|
 | 
						|
  # Sensor interrupts
 | 
						|
  BMX055_ACCEL_INT = 21
 | 
						|
  BMX055_GYRO_INT = 23
 | 
						|
  BMX055_MAGN_INT = 87
 | 
						|
  LSM_INT = 84
 | 
						|
 |