Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | /* Auto-generated config file hpl_port_config.h */ |
| 2 | #ifndef HPL_PORT_CONFIG_H |
| 3 | #define HPL_PORT_CONFIG_H |
| 4 | |
| 5 | // <<< Use Configuration Wizard in Context Menu >>> |
| 6 | |
| 7 | // <e> PORT Input Event 0 configuration |
| 8 | // <id> enable_port_input_event_0 |
| 9 | #ifndef CONF_PORT_EVCTRL_PORT_0 |
| 10 | #define CONF_PORT_EVCTRL_PORT_0 0 |
| 11 | #endif |
| 12 | |
| 13 | // <h> PORT Input Event 0 configuration on PORT A |
| 14 | |
| 15 | // <q> PORTA Input Event 0 Enable |
| 16 | // <i> The event action will be triggered on any incoming event if PORT A Input Event 0 configuration is enabled |
| 17 | // <id> porta_input_event_enable_0 |
| 18 | #ifndef CONF_PORTA_EVCTRL_PORTEI_0 |
| 19 | #define CONF_PORTA_EVCTRL_PORTEI_0 0x0 |
| 20 | #endif |
| 21 | |
| 22 | // <o> PORTA Event 0 Pin Identifier <0x00-0x1F> |
| 23 | // <i> These bits define the I/O pin from port A on which the event action will be performed |
| 24 | // <id> porta_event_pin_identifier_0 |
| 25 | #ifndef CONF_PORTA_EVCTRL_PID_0 |
| 26 | #define CONF_PORTA_EVCTRL_PID_0 0x0 |
| 27 | #endif |
| 28 | |
| 29 | // <o> PORTA Event 0 Action |
| 30 | // <0=> Output register of pin will be set to level of event |
| 31 | // <1=> Set output register of pin on event |
| 32 | // <2=> Clear output register of pin on event |
| 33 | // <3=> Toggle output register of pin on event |
| 34 | // <i> These bits define the event action the PORT A will perform on event input 0 |
| 35 | // <id> porta_event_action_0 |
| 36 | #ifndef CONF_PORTA_EVCTRL_EVACT_0 |
| 37 | #define CONF_PORTA_EVCTRL_EVACT_0 0 |
| 38 | #endif |
| 39 | |
| 40 | // </h> |
| 41 | // <h> PORT Input Event 0 configuration on PORT B |
| 42 | |
| 43 | // <q> PORTB Input Event 0 Enable |
| 44 | // <i> The event action will be triggered on any incoming event if PORT B Input Event 0 configuration is enabled |
| 45 | // <id> portb_input_event_enable_0 |
| 46 | #ifndef CONF_PORTB_EVCTRL_PORTEI_0 |
| 47 | #define CONF_PORTB_EVCTRL_PORTEI_0 0x0 |
| 48 | #endif |
| 49 | |
| 50 | // <o> PORTB Event 0 Pin Identifier <0x00-0x1F> |
| 51 | // <i> These bits define the I/O pin from port B on which the event action will be performed |
| 52 | // <id> portb_event_pin_identifier_0 |
| 53 | #ifndef CONF_PORTB_EVCTRL_PID_0 |
| 54 | #define CONF_PORTB_EVCTRL_PID_0 0x0 |
| 55 | #endif |
| 56 | |
| 57 | // <o> PORTB Event 0 Action |
| 58 | // <0=> Output register of pin will be set to level of event |
| 59 | // <1=> Set output register of pin on event |
| 60 | // <2=> Clear output register of pin on event |
| 61 | // <3=> Toggle output register of pin on event |
| 62 | // <i> These bits define the event action the PORT B will perform on event input 0 |
| 63 | // <id> portb_event_action_0 |
| 64 | #ifndef CONF_PORTB_EVCTRL_EVACT_0 |
| 65 | #define CONF_PORTB_EVCTRL_EVACT_0 0 |
| 66 | #endif |
| 67 | |
| 68 | // </h> |
| 69 | // <h> PORT Input Event 0 configuration on PORT C |
| 70 | |
| 71 | // <q> PORTC Input Event 0 Enable |
| 72 | // <i> The event action will be triggered on any incoming event if PORT C Input Event 0 configuration is enabled |
| 73 | // <id> portc_input_event_enable_0 |
| 74 | #ifndef CONF_PORTC_EVCTRL_PORTEI_0 |
| 75 | #define CONF_PORTC_EVCTRL_PORTEI_0 0x0 |
| 76 | #endif |
| 77 | |
| 78 | // <o> PORTC Event 0 Pin Identifier <0x00-0x1F> |
| 79 | // <i> These bits define the I/O pin from port C on which the event action will be performed |
| 80 | // <id> portc_event_pin_identifier_0 |
| 81 | #ifndef CONF_PORTC_EVCTRL_PID_0 |
| 82 | #define CONF_PORTC_EVCTRL_PID_0 0x0 |
| 83 | #endif |
| 84 | |
| 85 | // <o> PORTC Event 0 Action |
| 86 | // <0=> Output register of pin will be set to level of event |
| 87 | // <1=> Set output register of pin on event |
| 88 | // <2=> Clear output register of pin on event |
| 89 | // <3=> Toggle output register of pin on event |
| 90 | // <i> These bits define the event action the PORT C will perform on event input 0 |
| 91 | // <id> portc_event_action_0 |
| 92 | #ifndef CONF_PORTC_EVCTRL_EVACT_0 |
| 93 | #define CONF_PORTC_EVCTRL_EVACT_0 0 |
| 94 | #endif |
| 95 | |
| 96 | // </h> |
| 97 | // <h> PORT Input Event 0 configuration on PORT D |
| 98 | |
| 99 | // <q> PORTD Input Event 0 Enable |
| 100 | // <i> The event action will be triggered on any incoming event if PORT D Input Event 0 configuration is enabled |
| 101 | // <id> portd_input_event_enable_0 |
| 102 | #ifndef CONF_PORTD_EVCTRL_PORTEI_0 |
| 103 | #define CONF_PORTD_EVCTRL_PORTEI_0 0x0 |
| 104 | #endif |
| 105 | |
| 106 | // <o> PORTD Event 0 Pin Identifier <0x00-0x1F> |
| 107 | // <i> These bits define the I/O pin from port D on which the event action will be performed |
| 108 | // <id> portd_event_pin_identifier_0 |
| 109 | #ifndef CONF_PORTD_EVCTRL_PID_0 |
| 110 | #define CONF_PORTD_EVCTRL_PID_0 0x0 |
| 111 | #endif |
| 112 | |
| 113 | // <o> PORTD Event 0 Action |
| 114 | // <0=> Output register of pin will be set to level of event |
| 115 | // <1=> Set output register of pin on event |
| 116 | // <2=> Clear output register of pin on event |
| 117 | // <3=> Toggle output register of pin on event |
| 118 | // <i> These bits define the event action the PORT D will perform on event input 0 |
| 119 | // <id> portd_event_action_0 |
| 120 | #ifndef CONF_PORTD_EVCTRL_EVACT_0 |
| 121 | #define CONF_PORTD_EVCTRL_EVACT_0 0 |
| 122 | #endif |
| 123 | |
| 124 | // </h> |
| 125 | |
| 126 | // </e> |
| 127 | |
| 128 | // <e> PORT Input Event 1 configuration |
| 129 | // <id> enable_port_input_event_1 |
| 130 | #ifndef CONF_PORT_EVCTRL_PORT_1 |
| 131 | #define CONF_PORT_EVCTRL_PORT_1 0 |
| 132 | #endif |
| 133 | |
| 134 | // <h> PORT Input Event 1 configuration on PORT A |
| 135 | |
| 136 | // <q> PORTA Input Event 1 Enable |
| 137 | // <i> The event action will be triggered on any incoming event if PORT A Input Event 1 configuration is enabled |
| 138 | // <id> porta_input_event_enable_1 |
| 139 | #ifndef CONF_PORTA_EVCTRL_PORTEI_1 |
| 140 | #define CONF_PORTA_EVCTRL_PORTEI_1 0x0 |
| 141 | #endif |
| 142 | |
| 143 | // <o> PORTA Event 1 Pin Identifier <0x00-0x1F> |
| 144 | // <i> These bits define the I/O pin from port A on which the event action will be performed |
| 145 | // <id> porta_event_pin_identifier_1 |
| 146 | #ifndef CONF_PORTA_EVCTRL_PID_1 |
| 147 | #define CONF_PORTA_EVCTRL_PID_1 0x0 |
| 148 | #endif |
| 149 | |
| 150 | // <o> PORTA Event 1 Action |
| 151 | // <0=> Output register of pin will be set to level of event |
| 152 | // <1=> Set output register of pin on event |
| 153 | // <2=> Clear output register of pin on event |
| 154 | // <3=> Toggle output register of pin on event |
| 155 | // <i> These bits define the event action the PORT A will perform on event input 1 |
| 156 | // <id> porta_event_action_1 |
| 157 | #ifndef CONF_PORTA_EVCTRL_EVACT_1 |
| 158 | #define CONF_PORTA_EVCTRL_EVACT_1 0 |
| 159 | #endif |
| 160 | |
| 161 | // </h> |
| 162 | // <h> PORT Input Event 1 configuration on PORT B |
| 163 | |
| 164 | // <q> PORTB Input Event 1 Enable |
| 165 | // <i> The event action will be triggered on any incoming event if PORT B Input Event 1 configuration is enabled |
| 166 | // <id> portb_input_event_enable_1 |
| 167 | #ifndef CONF_PORTB_EVCTRL_PORTEI_1 |
| 168 | #define CONF_PORTB_EVCTRL_PORTEI_1 0x0 |
| 169 | #endif |
| 170 | |
| 171 | // <o> PORTB Event 1 Pin Identifier <0x00-0x1F> |
| 172 | // <i> These bits define the I/O pin from port B on which the event action will be performed |
| 173 | // <id> portb_event_pin_identifier_1 |
| 174 | #ifndef CONF_PORTB_EVCTRL_PID_1 |
| 175 | #define CONF_PORTB_EVCTRL_PID_1 0x0 |
| 176 | #endif |
| 177 | |
| 178 | // <o> PORTB Event 1 Action |
| 179 | // <0=> Output register of pin will be set to level of event |
| 180 | // <1=> Set output register of pin on event |
| 181 | // <2=> Clear output register of pin on event |
| 182 | // <3=> Toggle output register of pin on event |
| 183 | // <i> These bits define the event action the PORT B will perform on event input 1 |
| 184 | // <id> portb_event_action_1 |
| 185 | #ifndef CONF_PORTB_EVCTRL_EVACT_1 |
| 186 | #define CONF_PORTB_EVCTRL_EVACT_1 0 |
| 187 | #endif |
| 188 | |
| 189 | // </h> |
| 190 | // <h> PORT Input Event 1 configuration on PORT C |
| 191 | |
| 192 | // <q> PORTC Input Event 1 Enable |
| 193 | // <i> The event action will be triggered on any incoming event if PORT C Input Event 1 configuration is enabled |
| 194 | // <id> portc_input_event_enable_1 |
| 195 | #ifndef CONF_PORTC_EVCTRL_PORTEI_1 |
| 196 | #define CONF_PORTC_EVCTRL_PORTEI_1 0x0 |
| 197 | #endif |
| 198 | |
| 199 | // <o> PORTC Event 1 Pin Identifier <0x00-0x1F> |
| 200 | // <i> These bits define the I/O pin from port C on which the event action will be performed |
| 201 | // <id> portc_event_pin_identifier_1 |
| 202 | #ifndef CONF_PORTC_EVCTRL_PID_1 |
| 203 | #define CONF_PORTC_EVCTRL_PID_1 0x0 |
| 204 | #endif |
| 205 | |
| 206 | // <o> PORTC Event 1 Action |
| 207 | // <0=> Output register of pin will be set to level of event |
| 208 | // <1=> Set output register of pin on event |
| 209 | // <2=> Clear output register of pin on event |
| 210 | // <3=> Toggle output register of pin on event |
| 211 | // <i> These bits define the event action the PORT C will perform on event input 1 |
| 212 | // <id> portc_event_action_1 |
| 213 | #ifndef CONF_PORTC_EVCTRL_EVACT_1 |
| 214 | #define CONF_PORTC_EVCTRL_EVACT_1 0 |
| 215 | #endif |
| 216 | |
| 217 | // </h> |
| 218 | // <h> PORT Input Event 1 configuration on PORT D |
| 219 | |
| 220 | // <q> PORTD Input Event 1 Enable |
| 221 | // <i> The event action will be triggered on any incoming event if PORT D Input Event 1 configuration is enabled |
| 222 | // <id> portd_input_event_enable_1 |
| 223 | #ifndef CONF_PORTD_EVCTRL_PORTEI_1 |
| 224 | #define CONF_PORTD_EVCTRL_PORTEI_1 0x0 |
| 225 | #endif |
| 226 | |
| 227 | // <o> PORTD Event 1 Pin Identifier <0x00-0x1F> |
| 228 | // <i> These bits define the I/O pin from port D on which the event action will be performed |
| 229 | // <id> portd_event_pin_identifier_1 |
| 230 | #ifndef CONF_PORTD_EVCTRL_PID_1 |
| 231 | #define CONF_PORTD_EVCTRL_PID_1 0x0 |
| 232 | #endif |
| 233 | |
| 234 | // <o> PORTD Event 1 Action |
| 235 | // <0=> Output register of pin will be set to level of event |
| 236 | // <1=> Set output register of pin on event |
| 237 | // <2=> Clear output register of pin on event |
| 238 | // <3=> Toggle output register of pin on event |
| 239 | // <i> These bits define the event action the PORT D will perform on event input 1 |
| 240 | // <id> portd_event_action_1 |
| 241 | #ifndef CONF_PORTD_EVCTRL_EVACT_1 |
| 242 | #define CONF_PORTD_EVCTRL_EVACT_1 0 |
| 243 | #endif |
| 244 | |
| 245 | // </h> |
| 246 | |
| 247 | // </e> |
| 248 | |
| 249 | // <e> PORT Input Event 2 configuration |
| 250 | // <id> enable_port_input_event_2 |
| 251 | #ifndef CONF_PORT_EVCTRL_PORT_2 |
| 252 | #define CONF_PORT_EVCTRL_PORT_2 0 |
| 253 | #endif |
| 254 | |
| 255 | // <h> PORT Input Event 2 configuration on PORT A |
| 256 | |
| 257 | // <q> PORTA Input Event 2 Enable |
| 258 | // <i> The event action will be triggered on any incoming event if PORT A Input Event 2 configuration is enabled |
| 259 | // <id> porta_input_event_enable_2 |
| 260 | #ifndef CONF_PORTA_EVCTRL_PORTEI_2 |
| 261 | #define CONF_PORTA_EVCTRL_PORTEI_2 0x0 |
| 262 | #endif |
| 263 | |
| 264 | // <o> PORTA Event 2 Pin Identifier <0x00-0x1F> |
| 265 | // <i> These bits define the I/O pin from port A on which the event action will be performed |
| 266 | // <id> porta_event_pin_identifier_2 |
| 267 | #ifndef CONF_PORTA_EVCTRL_PID_2 |
| 268 | #define CONF_PORTA_EVCTRL_PID_2 0x0 |
| 269 | #endif |
| 270 | |
| 271 | // <o> PORTA Event 2 Action |
| 272 | // <0=> Output register of pin will be set to level of event |
| 273 | // <1=> Set output register of pin on event |
| 274 | // <2=> Clear output register of pin on event |
| 275 | // <3=> Toggle output register of pin on event |
| 276 | // <i> These bits define the event action the PORT A will perform on event input 2 |
| 277 | // <id> porta_event_action_2 |
| 278 | #ifndef CONF_PORTA_EVCTRL_EVACT_2 |
| 279 | #define CONF_PORTA_EVCTRL_EVACT_2 0 |
| 280 | #endif |
| 281 | |
| 282 | // </h> |
| 283 | // <h> PORT Input Event 2 configuration on PORT B |
| 284 | |
| 285 | // <q> PORTB Input Event 2 Enable |
| 286 | // <i> The event action will be triggered on any incoming event if PORT B Input Event 2 configuration is enabled |
| 287 | // <id> portb_input_event_enable_2 |
| 288 | #ifndef CONF_PORTB_EVCTRL_PORTEI_2 |
| 289 | #define CONF_PORTB_EVCTRL_PORTEI_2 0x0 |
| 290 | #endif |
| 291 | |
| 292 | // <o> PORTB Event 2 Pin Identifier <0x00-0x1F> |
| 293 | // <i> These bits define the I/O pin from port B on which the event action will be performed |
| 294 | // <id> portb_event_pin_identifier_2 |
| 295 | #ifndef CONF_PORTB_EVCTRL_PID_2 |
| 296 | #define CONF_PORTB_EVCTRL_PID_2 0x0 |
| 297 | #endif |
| 298 | |
| 299 | // <o> PORTB Event 2 Action |
| 300 | // <0=> Output register of pin will be set to level of event |
| 301 | // <1=> Set output register of pin on event |
| 302 | // <2=> Clear output register of pin on event |
| 303 | // <3=> Toggle output register of pin on event |
| 304 | // <i> These bits define the event action the PORT B will perform on event input 2 |
| 305 | // <id> portb_event_action_2 |
| 306 | #ifndef CONF_PORTB_EVCTRL_EVACT_2 |
| 307 | #define CONF_PORTB_EVCTRL_EVACT_2 0 |
| 308 | #endif |
| 309 | |
| 310 | // </h> |
| 311 | // <h> PORT Input Event 2 configuration on PORT C |
| 312 | |
| 313 | // <q> PORTC Input Event 2 Enable |
| 314 | // <i> The event action will be triggered on any incoming event if PORT C Input Event 2 configuration is enabled |
| 315 | // <id> portc_input_event_enable_2 |
| 316 | #ifndef CONF_PORTC_EVCTRL_PORTEI_2 |
| 317 | #define CONF_PORTC_EVCTRL_PORTEI_2 0x0 |
| 318 | #endif |
| 319 | |
| 320 | // <o> PORTC Event 2 Pin Identifier <0x00-0x1F> |
| 321 | // <i> These bits define the I/O pin from port C on which the event action will be performed |
| 322 | // <id> portc_event_pin_identifier_2 |
| 323 | #ifndef CONF_PORTC_EVCTRL_PID_2 |
| 324 | #define CONF_PORTC_EVCTRL_PID_2 0x0 |
| 325 | #endif |
| 326 | |
| 327 | // <o> PORTC Event 2 Action |
| 328 | // <0=> Output register of pin will be set to level of event |
| 329 | // <1=> Set output register of pin on event |
| 330 | // <2=> Clear output register of pin on event |
| 331 | // <3=> Toggle output register of pin on event |
| 332 | // <i> These bits define the event action the PORT C will perform on event input 2 |
| 333 | // <id> portc_event_action_2 |
| 334 | #ifndef CONF_PORTC_EVCTRL_EVACT_2 |
| 335 | #define CONF_PORTC_EVCTRL_EVACT_2 0 |
| 336 | #endif |
| 337 | |
| 338 | // </h> |
| 339 | // <h> PORT Input Event 2 configuration on PORT D |
| 340 | |
| 341 | // <q> PORTD Input Event 2 Enable |
| 342 | // <i> The event action will be triggered on any incoming event if PORT D Input Event 2 configuration is enabled |
| 343 | // <id> portd_input_event_enable_2 |
| 344 | #ifndef CONF_PORTD_EVCTRL_PORTEI_2 |
| 345 | #define CONF_PORTD_EVCTRL_PORTEI_2 0x0 |
| 346 | #endif |
| 347 | |
| 348 | // <o> PORTD Event 2 Pin Identifier <0x00-0x1F> |
| 349 | // <i> These bits define the I/O pin from port D on which the event action will be performed |
| 350 | // <id> portd_event_pin_identifier_2 |
| 351 | #ifndef CONF_PORTD_EVCTRL_PID_2 |
| 352 | #define CONF_PORTD_EVCTRL_PID_2 0x0 |
| 353 | #endif |
| 354 | |
| 355 | // <o> PORTD Event 2 Action |
| 356 | // <0=> Output register of pin will be set to level of event |
| 357 | // <1=> Set output register of pin on event |
| 358 | // <2=> Clear output register of pin on event |
| 359 | // <3=> Toggle output register of pin on event |
| 360 | // <i> These bits define the event action the PORT D will perform on event input 2 |
| 361 | // <id> portd_event_action_2 |
| 362 | #ifndef CONF_PORTD_EVCTRL_EVACT_2 |
| 363 | #define CONF_PORTD_EVCTRL_EVACT_2 0 |
| 364 | #endif |
| 365 | |
| 366 | // </h> |
| 367 | |
| 368 | // </e> |
| 369 | |
| 370 | // <e> PORT Input Event 3 configuration |
| 371 | // <id> enable_port_input_event_3 |
| 372 | #ifndef CONF_PORT_EVCTRL_PORT_3 |
| 373 | #define CONF_PORT_EVCTRL_PORT_3 0 |
| 374 | #endif |
| 375 | |
| 376 | // <h> PORT Input Event 3 configuration on PORT A |
| 377 | |
| 378 | // <q> PORTA Input Event 3 Enable |
| 379 | // <i> The event action will be triggered on any incoming event if PORT A Input Event 3 configuration is enabled |
| 380 | // <id> porta_input_event_enable_3 |
| 381 | #ifndef CONF_PORTA_EVCTRL_PORTEI_3 |
| 382 | #define CONF_PORTA_EVCTRL_PORTEI_3 0x0 |
| 383 | #endif |
| 384 | |
| 385 | // <o> PORTA Event 3 Pin Identifier <0x00-0x1F> |
| 386 | // <i> These bits define the I/O pin from port A on which the event action will be performed |
| 387 | // <id> porta_event_pin_identifier_3 |
| 388 | #ifndef CONF_PORTA_EVCTRL_PID_3 |
| 389 | #define CONF_PORTA_EVCTRL_PID_3 0x0 |
| 390 | #endif |
| 391 | |
| 392 | // <o> PORTA Event 3 Action |
| 393 | // <0=> Output register of pin will be set to level of event |
| 394 | // <1=> Set output register of pin on event |
| 395 | // <2=> Clear output register of pin on event |
| 396 | // <3=> Toggle output register of pin on event |
| 397 | // <i> These bits define the event action the PORT A will perform on event input 3 |
| 398 | // <id> porta_event_action_3 |
| 399 | #ifndef CONF_PORTA_EVCTRL_EVACT_3 |
| 400 | #define CONF_PORTA_EVCTRL_EVACT_3 0 |
| 401 | #endif |
| 402 | |
| 403 | // </h> |
| 404 | // <h> PORT Input Event 3 configuration on PORT B |
| 405 | |
| 406 | // <q> PORTB Input Event 3 Enable |
| 407 | // <i> The event action will be triggered on any incoming event if PORT B Input Event 3 configuration is enabled |
| 408 | // <id> portb_input_event_enable_3 |
| 409 | #ifndef CONF_PORTB_EVCTRL_PORTEI_3 |
| 410 | #define CONF_PORTB_EVCTRL_PORTEI_3 0x0 |
| 411 | #endif |
| 412 | |
| 413 | // <o> PORTB Event 3 Pin Identifier <0x00-0x1F> |
| 414 | // <i> These bits define the I/O pin from port B on which the event action will be performed |
| 415 | // <id> portb_event_pin_identifier_3 |
| 416 | #ifndef CONF_PORTB_EVCTRL_PID_3 |
| 417 | #define CONF_PORTB_EVCTRL_PID_3 0x0 |
| 418 | #endif |
| 419 | |
| 420 | // <o> PORTB Event 3 Action |
| 421 | // <0=> Output register of pin will be set to level of event |
| 422 | // <1=> Set output register of pin on event |
| 423 | // <2=> Clear output register of pin on event |
| 424 | // <3=> Toggle output register of pin on event |
| 425 | // <i> These bits define the event action the PORT B will perform on event input 3 |
| 426 | // <id> portb_event_action_3 |
| 427 | #ifndef CONF_PORTB_EVCTRL_EVACT_3 |
| 428 | #define CONF_PORTB_EVCTRL_EVACT_3 0 |
| 429 | #endif |
| 430 | |
| 431 | // </h> |
| 432 | // <h> PORT Input Event 3 configuration on PORT C |
| 433 | |
| 434 | // <q> PORTC Input Event 3 Enable |
| 435 | // <i> The event action will be triggered on any incoming event if PORT C Input Event 3 configuration is enabled |
| 436 | // <id> portc_input_event_enable_3 |
| 437 | #ifndef CONF_PORTC_EVCTRL_PORTEI_3 |
| 438 | #define CONF_PORTC_EVCTRL_PORTEI_3 0x0 |
| 439 | #endif |
| 440 | |
| 441 | // <o> PORTC Event 3 Pin Identifier <0x00-0x1F> |
| 442 | // <i> These bits define the I/O pin from port C on which the event action will be performed |
| 443 | // <id> portc_event_pin_identifier_3 |
| 444 | #ifndef CONF_PORTC_EVCTRL_PID_3 |
| 445 | #define CONF_PORTC_EVCTRL_PID_3 0x0 |
| 446 | #endif |
| 447 | |
| 448 | // <o> PORTC Event 3 Action |
| 449 | // <0=> Output register of pin will be set to level of event |
| 450 | // <1=> Set output register of pin on event |
| 451 | // <2=> Clear output register of pin on event |
| 452 | // <3=> Toggle output register of pin on event |
| 453 | // <i> These bits define the event action the PORT C will perform on event input 3 |
| 454 | // <id> portc_event_action_3 |
| 455 | #ifndef CONF_PORTC_EVCTRL_EVACT_3 |
| 456 | #define CONF_PORTC_EVCTRL_EVACT_3 0 |
| 457 | #endif |
| 458 | |
| 459 | // </h> |
| 460 | // <h> PORT Input Event 3 configuration on PORT D |
| 461 | |
| 462 | // <q> PORTD Input Event 3 Enable |
| 463 | // <i> The event action will be triggered on any incoming event if PORT D Input Event 3 configuration is enabled |
| 464 | // <id> portd_input_event_enable_3 |
| 465 | #ifndef CONF_PORTD_EVCTRL_PORTEI_3 |
| 466 | #define CONF_PORTD_EVCTRL_PORTEI_3 0x0 |
| 467 | #endif |
| 468 | |
| 469 | // <o> PORTD Event 3 Pin Identifier <0x00-0x1F> |
| 470 | // <i> These bits define the I/O pin from port D on which the event action will be performed |
| 471 | // <id> portd_event_pin_identifier_3 |
| 472 | #ifndef CONF_PORTD_EVCTRL_PID_3 |
| 473 | #define CONF_PORTD_EVCTRL_PID_3 0x0 |
| 474 | #endif |
| 475 | |
| 476 | // <o> PORTD Event 3 Action |
| 477 | // <0=> Output register of pin will be set to level of event |
| 478 | // <1=> Set output register of pin on event |
| 479 | // <2=> Clear output register of pin on event |
| 480 | // <3=> Toggle output register of pin on event |
| 481 | // <i> These bits define the event action the PORT D will perform on event input 3 |
| 482 | // <id> portd_event_action_3 |
| 483 | #ifndef CONF_PORTD_EVCTRL_EVACT_3 |
| 484 | #define CONF_PORTD_EVCTRL_EVACT_3 0 |
| 485 | #endif |
| 486 | |
| 487 | // </h> |
| 488 | |
| 489 | // </e> |
| 490 | |
| 491 | #define CONF_PORTA_EVCTRL \ |
| 492 | (0 | PORT_EVCTRL_EVACT0(CONF_PORTA_EVCTRL_EVACT_0) | CONF_PORTA_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \ |
| 493 | | PORT_EVCTRL_PID0(CONF_PORTA_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTA_EVCTRL_EVACT_1) \ |
| 494 | | CONF_PORTA_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTA_EVCTRL_PID_1) \ |
| 495 | | PORT_EVCTRL_EVACT2(CONF_PORTA_EVCTRL_EVACT_2) | CONF_PORTA_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \ |
| 496 | | PORT_EVCTRL_PID2(CONF_PORTA_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTA_EVCTRL_EVACT_3) \ |
| 497 | | CONF_PORTA_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTA_EVCTRL_PID_3)) |
| 498 | #define CONF_PORTB_EVCTRL \ |
| 499 | (0 | PORT_EVCTRL_EVACT0(CONF_PORTB_EVCTRL_EVACT_0) | CONF_PORTB_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \ |
| 500 | | PORT_EVCTRL_PID0(CONF_PORTB_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTB_EVCTRL_EVACT_1) \ |
| 501 | | CONF_PORTB_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTB_EVCTRL_PID_1) \ |
| 502 | | PORT_EVCTRL_EVACT2(CONF_PORTB_EVCTRL_EVACT_2) | CONF_PORTB_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \ |
| 503 | | PORT_EVCTRL_PID2(CONF_PORTB_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTB_EVCTRL_EVACT_3) \ |
| 504 | | CONF_PORTB_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTB_EVCTRL_PID_3)) |
| 505 | #define CONF_PORTC_EVCTRL \ |
| 506 | (0 | PORT_EVCTRL_EVACT0(CONF_PORTC_EVCTRL_EVACT_0) | CONF_PORTC_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \ |
| 507 | | PORT_EVCTRL_PID0(CONF_PORTC_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTC_EVCTRL_EVACT_1) \ |
| 508 | | CONF_PORTC_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTC_EVCTRL_PID_1) \ |
| 509 | | PORT_EVCTRL_EVACT2(CONF_PORTC_EVCTRL_EVACT_2) | CONF_PORTC_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \ |
| 510 | | PORT_EVCTRL_PID2(CONF_PORTC_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTC_EVCTRL_EVACT_3) \ |
| 511 | | CONF_PORTC_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTC_EVCTRL_PID_3)) |
| 512 | #define CONF_PORTD_EVCTRL \ |
| 513 | (0 | PORT_EVCTRL_EVACT0(CONF_PORTD_EVCTRL_EVACT_0) | CONF_PORTD_EVCTRL_PORTEI_0 << PORT_EVCTRL_PORTEI0_Pos \ |
| 514 | | PORT_EVCTRL_PID0(CONF_PORTD_EVCTRL_PID_0) | PORT_EVCTRL_EVACT1(CONF_PORTD_EVCTRL_EVACT_1) \ |
| 515 | | CONF_PORTD_EVCTRL_PORTEI_1 << PORT_EVCTRL_PORTEI1_Pos | PORT_EVCTRL_PID1(CONF_PORTD_EVCTRL_PID_1) \ |
| 516 | | PORT_EVCTRL_EVACT2(CONF_PORTD_EVCTRL_EVACT_2) | CONF_PORTD_EVCTRL_PORTEI_2 << PORT_EVCTRL_PORTEI2_Pos \ |
| 517 | | PORT_EVCTRL_PID2(CONF_PORTD_EVCTRL_PID_2) | PORT_EVCTRL_EVACT3(CONF_PORTD_EVCTRL_EVACT_3) \ |
| 518 | | CONF_PORTD_EVCTRL_PORTEI_3 << PORT_EVCTRL_PORTEI3_Pos | PORT_EVCTRL_PID3(CONF_PORTD_EVCTRL_PID_3)) |
| 519 | |
| 520 | // <<< end of configuration section >>> |
| 521 | |
| 522 | #endif // HPL_PORT_CONFIG_H |