change some parameters in softspim
This commit is contained in:
		
							parent
							
								
									64dae0435b
								
							
						
					
					
						commit
						b01caeda28
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -6,8 +6,8 @@ class SpiMaster
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
private:
 | 
					private:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static constexpr uint8_t CLOCK_POLARITY = 1;
 | 
						static constexpr uint8_t CLOCK_POLARITY = 0;
 | 
				
			||||||
	static constexpr uint8_t CLOCK_PHASE    = 1;
 | 
						static constexpr uint8_t CLOCK_PHASE    = 0;
 | 
				
			||||||
	static constexpr uint8_t BIT_ORDER      = 1;
 | 
						static constexpr uint8_t BIT_ORDER      = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	volatile uint8_t * const _port        = &PORTB;
 | 
						volatile uint8_t * const _port        = &PORTB;
 | 
				
			||||||
| 
						 | 
					@ -16,7 +16,7 @@ private:
 | 
				
			||||||
	static constexpr uint8_t _pinOut      = PB4;
 | 
						static constexpr uint8_t _pinOut      = PB4;
 | 
				
			||||||
	static constexpr uint8_t _pinClock    = PB3;
 | 
						static constexpr uint8_t _pinClock    = PB3;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static constexpr uint8_t DELAY_TIME_US  = 10;
 | 
						static constexpr uint8_t DELAY_TIME_US  = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue