User Tools

Site Tools


doc:crazyflie:dev:firmware:deck_memory_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
doc:crazyflie:dev:firmware:deck_memory_format [2015-08-05 14:56]
arnaud
doc:crazyflie:dev:firmware:deck_memory_format [2015-08-06 12:11]
arnaud [Header]
Line 33: Line 33:
  
 ^ Drive    ^ PC11 ^ PC10 ^ PB7 ^ PB6 ^ PB8 ^ PB5 ^ PB4 ^ PC12 ^ PA2 ^ PA3 ^ PA5 ^ PA6 ^ PA7 ^ P0.11 ^ P0.12 ^ P0.08 ^ ^ Drive    ^ PC11 ^ PC10 ^ PB7 ^ PB6 ^ PB8 ^ PB5 ^ PB4 ^ PC12 ^ PA2 ^ PA3 ^ PA5 ^ PA6 ^ PA7 ^ P0.11 ^ P0.12 ^ P0.08 ^
-**Low**  | 0    | 1    | 2   | 3   | 4   | 5   | 6   | 7    | 8   | 9   | 10  | 11  | 12  | 13    | 14    | 15    | +**Low**  | 0    | 1    | 2   | 3   | 4   | 5   | 6   | 7    | 8   | 9   | 10  | 11  | 12  | 13    | 14    | 15    | 
-**High** | 16   | 17   | 18  | 19  | 20  | 21  | 22  | 23   | 24  | 25  | 26  | 27  | 28  | 29    | 31    | 31    |+**High** | 16   | 17   | 18  | 19  | 20  | 21  | 22  | 23   | 24  | 25  | 26  | 27  | 28  | 29    | 31    | 31    |
  
 For example is a deck has a GPS that has its UART TX on PC11 (push-pull, drives high and low), the //UsedPins// value will be (1<<0) | (1<<16) = 0x00010001. As another example is a deck has an I2C sensor on PB6,PB7 (Open collector, only drives low), the //UsedPins// value is then: (1<<2) | (1<<3) = 0x0000000C For example is a deck has a GPS that has its UART TX on PC11 (push-pull, drives high and low), the //UsedPins// value will be (1<<0) | (1<<16) = 0x00010001. As another example is a deck has an I2C sensor on PB6,PB7 (Open collector, only drives low), the //UsedPins// value is then: (1<<2) | (1<<3) = 0x0000000C
doc/crazyflie/dev/firmware/deck_memory_format.txt · Last modified: 2020-05-12 14:22 by kimberly