|
30 | 30 |
|
31 | 31 | uint32_t gpio_set(PinName pin) |
32 | 32 | { |
33 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
34 | | - * service should be used for GPIO in NS domain. |
35 | | - */ |
| 33 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 34 | + * service should be used for GPIO in NS domain. |
| 35 | + */ |
36 | 36 | return 0; |
37 | 37 | } |
38 | 38 |
|
39 | 39 | void gpio_init(gpio_t *obj, PinName pin) |
40 | 40 | { |
41 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
42 | | - * service should be used for GPIO in NS domain. |
43 | | - */ |
| 41 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 42 | + * service should be used for GPIO in NS domain. |
| 43 | + */ |
44 | 44 | } |
45 | 45 |
|
46 | 46 | void gpio_mode(gpio_t *obj, PinMode mode) |
47 | 47 | { |
48 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
49 | | - * service should be used for GPIO in NS domain. |
50 | | - */ |
| 48 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 49 | + * service should be used for GPIO in NS domain. |
| 50 | + */ |
51 | 51 | } |
52 | 52 |
|
53 | 53 | void gpio_dir(gpio_t *obj, PinDirection direction) |
54 | 54 | { |
55 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
56 | | - * service should be used for GPIO in NS domain. |
57 | | - */ |
| 55 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 56 | + * service should be used for GPIO in NS domain. |
| 57 | + */ |
58 | 58 | } |
59 | 59 |
|
60 | 60 | int gpio_is_connected(const gpio_t *obj) |
61 | 61 | { |
62 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
63 | | - * service should be used for GPIO in NS domain. |
64 | | - */ |
| 62 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 63 | + * service should be used for GPIO in NS domain. |
| 64 | + */ |
65 | 65 | return 0; |
66 | 66 | } |
67 | 67 |
|
68 | 68 | void gpio_write(gpio_t *obj, int value) |
69 | 69 | { |
70 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
71 | | - * service should be used for GPIO in NS domain. |
72 | | - */ |
| 70 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 71 | + * service should be used for GPIO in NS domain. |
| 72 | + */ |
73 | 73 | } |
74 | 74 |
|
75 | 75 | int gpio_read(gpio_t *obj) |
76 | 76 | { |
77 | | - /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
78 | | - * service should be used for GPIO in NS domain. |
79 | | - */ |
| 77 | + /* Due to a HW limitation, GPIO in Musca-A1 is Secure only, so secure |
| 78 | + * service should be used for GPIO in NS domain. |
| 79 | + */ |
80 | 80 | return 0; |
81 | 81 | } |
0 commit comments