190 #ifndef ti_driver_pwm_PWMTimerMSP432__include 191 #define ti_driver_pwm_PWMTimerMSP432__include 199 #include <ti/devices/DeviceFamily.h> 203 #include <ti/devices/msp432p4xx/driverlib/pmap.h> 204 #include <ti/devices/msp432p4xx/driverlib/timer_a.h> 255 #define PWMTimerMSP432_CCR1 (TIMER_A_CAPTURECOMPARE_REGISTER_1 << 20) 256 #define PWMTimerMSP432_CCR2 (TIMER_A_CAPTURECOMPARE_REGISTER_2 << 20) 257 #define PWMTimerMSP432_CCR3 (TIMER_A_CAPTURECOMPARE_REGISTER_3 << 20) 258 #define PWMTimerMSP432_CCR4 (TIMER_A_CAPTURECOMPARE_REGISTER_4 << 20) 260 #define PWMTimerMSP432_TA0 (0 << 16) 261 #define PWMTimerMSP432_TA1 (1 << 16) 262 #define PWMTimerMSP432_TA2 (2 << 16) 263 #define PWMTimerMSP432_TA3 (3 << 16) 265 #define PWMTimerMSP432_TA0CCR1 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR1 | (PMAP_TA0CCR1A << 10)) 266 #define PWMTimerMSP432_TA0CCR2 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR2 | (PMAP_TA0CCR2A << 10)) 267 #define PWMTimerMSP432_TA0CCR3 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR3 | (PMAP_TA0CCR3A << 10)) 268 #define PWMTimerMSP432_TA0CCR4 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR4 | (PMAP_TA0CCR4A << 10)) 270 #define PWMTimerMSP432_TA1CCR1 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR1 | (PMAP_TA1CCR1A << 10)) 271 #define PWMTimerMSP432_TA1CCR2 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR2 | (PMAP_TA1CCR2A << 10)) 272 #define PWMTimerMSP432_TA1CCR3 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR3 | (PMAP_TA1CCR3A << 10)) 273 #define PWMTimerMSP432_TA1CCR4 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR4 | (PMAP_TA1CCR4A << 10)) 275 #define PWMTimerMSP432_TA2CCR1 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR1) 276 #define PWMTimerMSP432_TA2CCR2 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR2) 277 #define PWMTimerMSP432_TA2CCR3 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR3) 278 #define PWMTimerMSP432_TA2CCR4 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR4) 280 #define PWMTimerMSP432_TA3CCR1 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR1) 281 #define PWMTimerMSP432_TA3CCR2 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR2) 282 #define PWMTimerMSP432_TA3CCR3 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR3) 283 #define PWMTimerMSP432_TA3CCR4 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR4) 295 #define PWMTimerMSP432_P2_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x20) 296 #define PWMTimerMSP432_P2_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x20) 297 #define PWMTimerMSP432_P2_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x20) 298 #define PWMTimerMSP432_P2_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x20) 299 #define PWMTimerMSP432_P2_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x20) 300 #define PWMTimerMSP432_P2_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x20) 301 #define PWMTimerMSP432_P2_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x20) 302 #define PWMTimerMSP432_P2_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x20) 309 #define PWMTimerMSP432_P2_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x21) 310 #define PWMTimerMSP432_P2_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x21) 311 #define PWMTimerMSP432_P2_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x21) 312 #define PWMTimerMSP432_P2_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x21) 313 #define PWMTimerMSP432_P2_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x21) 314 #define PWMTimerMSP432_P2_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x21) 315 #define PWMTimerMSP432_P2_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x21) 316 #define PWMTimerMSP432_P2_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x21) 323 #define PWMTimerMSP432_P2_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x22) 324 #define PWMTimerMSP432_P2_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x22) 325 #define PWMTimerMSP432_P2_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x22) 326 #define PWMTimerMSP432_P2_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x22) 327 #define PWMTimerMSP432_P2_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x22) 328 #define PWMTimerMSP432_P2_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x22) 329 #define PWMTimerMSP432_P2_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x22) 330 #define PWMTimerMSP432_P2_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x22) 337 #define PWMTimerMSP432_P2_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x23) 338 #define PWMTimerMSP432_P2_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x23) 339 #define PWMTimerMSP432_P2_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x23) 340 #define PWMTimerMSP432_P2_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x23) 341 #define PWMTimerMSP432_P2_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x23) 342 #define PWMTimerMSP432_P2_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x23) 343 #define PWMTimerMSP432_P2_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x23) 344 #define PWMTimerMSP432_P2_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x23) 351 #define PWMTimerMSP432_P2_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x24) 352 #define PWMTimerMSP432_P2_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x24) 353 #define PWMTimerMSP432_P2_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x24) 354 #define PWMTimerMSP432_P2_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x24) 355 #define PWMTimerMSP432_P2_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x24) 356 #define PWMTimerMSP432_P2_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x24) 357 #define PWMTimerMSP432_P2_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x24) 358 #define PWMTimerMSP432_P2_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x24) 365 #define PWMTimerMSP432_P2_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x25) 366 #define PWMTimerMSP432_P2_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x25) 367 #define PWMTimerMSP432_P2_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x25) 368 #define PWMTimerMSP432_P2_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x25) 369 #define PWMTimerMSP432_P2_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x25) 370 #define PWMTimerMSP432_P2_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x25) 371 #define PWMTimerMSP432_P2_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x25) 372 #define PWMTimerMSP432_P2_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x25) 379 #define PWMTimerMSP432_P2_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x26) 380 #define PWMTimerMSP432_P2_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x26) 381 #define PWMTimerMSP432_P2_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x26) 382 #define PWMTimerMSP432_P2_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x26) 383 #define PWMTimerMSP432_P2_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x26) 384 #define PWMTimerMSP432_P2_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x26) 385 #define PWMTimerMSP432_P2_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x26) 386 #define PWMTimerMSP432_P2_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x26) 393 #define PWMTimerMSP432_P2_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x27) 394 #define PWMTimerMSP432_P2_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x27) 395 #define PWMTimerMSP432_P2_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x27) 396 #define PWMTimerMSP432_P2_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x27) 397 #define PWMTimerMSP432_P2_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x27) 398 #define PWMTimerMSP432_P2_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x27) 399 #define PWMTimerMSP432_P2_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x27) 400 #define PWMTimerMSP432_P2_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x27) 407 #define PWMTimerMSP432_P3_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x30) 408 #define PWMTimerMSP432_P3_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x30) 409 #define PWMTimerMSP432_P3_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x30) 410 #define PWMTimerMSP432_P3_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x30) 411 #define PWMTimerMSP432_P3_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x30) 412 #define PWMTimerMSP432_P3_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x30) 413 #define PWMTimerMSP432_P3_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x30) 414 #define PWMTimerMSP432_P3_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x30) 421 #define PWMTimerMSP432_P3_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x31) 422 #define PWMTimerMSP432_P3_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x31) 423 #define PWMTimerMSP432_P3_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x31) 424 #define PWMTimerMSP432_P3_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x31) 425 #define PWMTimerMSP432_P3_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x31) 426 #define PWMTimerMSP432_P3_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x31) 427 #define PWMTimerMSP432_P3_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x31) 428 #define PWMTimerMSP432_P3_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x31) 435 #define PWMTimerMSP432_P3_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x32) 436 #define PWMTimerMSP432_P3_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x32) 437 #define PWMTimerMSP432_P3_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x32) 438 #define PWMTimerMSP432_P3_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x32) 439 #define PWMTimerMSP432_P3_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x32) 440 #define PWMTimerMSP432_P3_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x32) 441 #define PWMTimerMSP432_P3_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x32) 442 #define PWMTimerMSP432_P3_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x32) 449 #define PWMTimerMSP432_P3_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x33) 450 #define PWMTimerMSP432_P3_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x33) 451 #define PWMTimerMSP432_P3_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x33) 452 #define PWMTimerMSP432_P3_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x33) 453 #define PWMTimerMSP432_P3_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x33) 454 #define PWMTimerMSP432_P3_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x33) 455 #define PWMTimerMSP432_P3_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x33) 456 #define PWMTimerMSP432_P3_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x33) 463 #define PWMTimerMSP432_P3_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x34) 464 #define PWMTimerMSP432_P3_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x34) 465 #define PWMTimerMSP432_P3_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x34) 466 #define PWMTimerMSP432_P3_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x34) 467 #define PWMTimerMSP432_P3_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x34) 468 #define PWMTimerMSP432_P3_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x34) 469 #define PWMTimerMSP432_P3_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x34) 470 #define PWMTimerMSP432_P3_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x34) 477 #define PWMTimerMSP432_P3_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x35) 478 #define PWMTimerMSP432_P3_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x35) 479 #define PWMTimerMSP432_P3_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x35) 480 #define PWMTimerMSP432_P3_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x35) 481 #define PWMTimerMSP432_P3_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x35) 482 #define PWMTimerMSP432_P3_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x35) 483 #define PWMTimerMSP432_P3_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x35) 484 #define PWMTimerMSP432_P3_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x35) 491 #define PWMTimerMSP432_P3_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x36) 492 #define PWMTimerMSP432_P3_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x36) 493 #define PWMTimerMSP432_P3_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x36) 494 #define PWMTimerMSP432_P3_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x36) 495 #define PWMTimerMSP432_P3_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x36) 496 #define PWMTimerMSP432_P3_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x36) 497 #define PWMTimerMSP432_P3_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x36) 498 #define PWMTimerMSP432_P3_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x36) 505 #define PWMTimerMSP432_P3_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x37) 506 #define PWMTimerMSP432_P3_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x37) 507 #define PWMTimerMSP432_P3_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x37) 508 #define PWMTimerMSP432_P3_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x37) 509 #define PWMTimerMSP432_P3_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x37) 510 #define PWMTimerMSP432_P3_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x37) 511 #define PWMTimerMSP432_P3_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x37) 512 #define PWMTimerMSP432_P3_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x37) 519 #define PWMTimerMSP432_P5_6_TA2CCR1A (PWMTimerMSP432_TA2CCR1 | 0x156) 520 #define PWMTimerMSP432_P5_7_TA2CCR2A (PWMTimerMSP432_TA2CCR2 | 0x157) 527 #define PWMTimerMSP432_P6_6_TA2CCR3A (PWMTimerMSP432_TA2CCR3 | 0x166) 528 #define PWMTimerMSP432_P6_7_TA2CCR4A (PWMTimerMSP432_TA2CCR4 | 0x167) 535 #define PWMTimerMSP432_P7_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x70) 536 #define PWMTimerMSP432_P7_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x70) 537 #define PWMTimerMSP432_P7_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x70) 538 #define PWMTimerMSP432_P7_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x70) 539 #define PWMTimerMSP432_P7_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x70) 540 #define PWMTimerMSP432_P7_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x70) 541 #define PWMTimerMSP432_P7_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x70) 542 #define PWMTimerMSP432_P7_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x70) 549 #define PWMTimerMSP432_P7_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x71) 550 #define PWMTimerMSP432_P7_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x71) 551 #define PWMTimerMSP432_P7_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x71) 552 #define PWMTimerMSP432_P7_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x71) 553 #define PWMTimerMSP432_P7_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x71) 554 #define PWMTimerMSP432_P7_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x71) 555 #define PWMTimerMSP432_P7_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x71) 556 #define PWMTimerMSP432_P7_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x71) 563 #define PWMTimerMSP432_P7_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x72) 564 #define PWMTimerMSP432_P7_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x72) 565 #define PWMTimerMSP432_P7_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x72) 566 #define PWMTimerMSP432_P7_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x72) 567 #define PWMTimerMSP432_P7_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x72) 568 #define PWMTimerMSP432_P7_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x72) 569 #define PWMTimerMSP432_P7_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x72) 570 #define PWMTimerMSP432_P7_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x72) 577 #define PWMTimerMSP432_P7_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x73) 578 #define PWMTimerMSP432_P7_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x73) 579 #define PWMTimerMSP432_P7_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x73) 580 #define PWMTimerMSP432_P7_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x73) 581 #define PWMTimerMSP432_P7_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x73) 582 #define PWMTimerMSP432_P7_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x73) 583 #define PWMTimerMSP432_P7_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x73) 584 #define PWMTimerMSP432_P7_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x73) 591 #define PWMTimerMSP432_P7_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x74) 592 #define PWMTimerMSP432_P7_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x74) 593 #define PWMTimerMSP432_P7_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x74) 594 #define PWMTimerMSP432_P7_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x74) 595 #define PWMTimerMSP432_P7_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x74) 596 #define PWMTimerMSP432_P7_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x74) 597 #define PWMTimerMSP432_P7_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x74) 598 #define PWMTimerMSP432_P7_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x74) 605 #define PWMTimerMSP432_P7_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x75) 606 #define PWMTimerMSP432_P7_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x75) 607 #define PWMTimerMSP432_P7_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x75) 608 #define PWMTimerMSP432_P7_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x75) 609 #define PWMTimerMSP432_P7_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x75) 610 #define PWMTimerMSP432_P7_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x75) 611 #define PWMTimerMSP432_P7_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x75) 612 #define PWMTimerMSP432_P7_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x75) 619 #define PWMTimerMSP432_P7_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x76) 620 #define PWMTimerMSP432_P7_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x76) 621 #define PWMTimerMSP432_P7_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x76) 622 #define PWMTimerMSP432_P7_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x76) 623 #define PWMTimerMSP432_P7_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x76) 624 #define PWMTimerMSP432_P7_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x76) 625 #define PWMTimerMSP432_P7_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x76) 626 #define PWMTimerMSP432_P7_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x76) 633 #define PWMTimerMSP432_P7_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x77) 634 #define PWMTimerMSP432_P7_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x77) 635 #define PWMTimerMSP432_P7_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x77) 636 #define PWMTimerMSP432_P7_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x77) 637 #define PWMTimerMSP432_P7_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x77) 638 #define PWMTimerMSP432_P7_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x77) 639 #define PWMTimerMSP432_P7_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x77) 640 #define PWMTimerMSP432_P7_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x77) 647 #define PWMTimerMSP432_P8_2_TA3CCR2A (PWMTimerMSP342_TA3CCR2 | 0x182) 654 #define PWMTimerMSP432_P9_2_TA3CCR3A (PWMTimerMSP432_TA3CCR3 | 0x192) 655 #define PWMTimerMSP432_P9_3_TA3CCR4A (PWMTimerMSP432_TA3CCR4 | 0x193) 689 #define PWMTimerMSP432_NUM_TIMERS (4) 692 #define PWMTimerMSP432_NUM_PWM_OUTPUTS (6) 738 uint32_t duties[PWMTimerMSP432_NUM_PWM_OUTPUTS];
uint32_t pwmPin
Definition: PWMTimerMSP432.h:724
struct PWMTimerMSP432_Object PWMTimerMSP432_Object
PWMTimerMSP432 Object.
PWM_Duty_Units dutyUnits
Definition: PWMTimerMSP432.h:754
uint32_t periodCounts
Definition: PWMTimerMSP432.h:739
PWMTimerMSP432 Hardware attributes.
Definition: PWMTimerMSP432.h:721
struct PWMTimerMSP432_HWAttrsV2 PWMTimerMSP432_HWAttrsV2
PWMTimerMSP432 Hardware attributes.
PWMTimerMSP432_Status.
Definition: PWMTimerMSP432.h:733
PWMTimerMSP432_Status * timerStatus
Definition: PWMTimerMSP432.h:752
PWM_Period_Units periodUnits
Definition: PWMTimerMSP432.h:735
const PWM_FxnTable PWMTimerMSP432_fxnTable
Power notify object structure.
Definition: Power.h:115
uint16_t clockSource
Definition: PWMTimerMSP432.h:722
uint32_t baseAddress
Definition: PWMTimerMSP432.h:753
The definition of a PWM function table that contains the required set of functions to control a speci...
Definition: PWM.h:407
PWMTimerMSP432 Object.
Definition: PWMTimerMSP432.h:751
Power_NotifyObj perfChangeNotify
Definition: PWMTimerMSP432.h:734
enum PWM_Period_Units_ PWM_Period_Units
PWM period unit definitions. Refer to device specific implementation if using PWM_PERIOD_COUNTS (raw ...
uint8_t openMask
Definition: PWMTimerMSP432.h:743
uint8_t prescalar
Definition: PWMTimerMSP432.h:741
PWM_IdleLevel idleLevel
Definition: PWMTimerMSP432.h:755
uint8_t activeOutputsMask
Definition: PWMTimerMSP432.h:742
enum PWM_IdleLevel_ PWM_IdleLevel
Idle output level when PWM is not running (stopped / not started).
uint8_t compareOutputNum
Definition: PWMTimerMSP432.h:756
struct PWMTimerMSP432_Status PWMTimerMSP432_Status
PWMTimerMSP432_Status.
uint32_t period
Definition: PWMTimerMSP432.h:740
uint32_t perfConstraintMask
Definition: PWMTimerMSP432.h:736
uint32_t clockSource
Definition: PWMTimerMSP432.h:737
enum PWM_Duty_Units_ PWM_Duty_Units
PWM duty cycle unit definitions. Refer to device specific implementation if using PWM_DUTY_COUNTS (ra...